From 8746a58ab93f0662bf1e8b91a36c261822ffeed5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 15 Oct 2008 19:36:30 +0200 Subject: path, tag_id3: use g_convert() instead of charConv.c GLib provides an easier API for character set conversion than iconv(). Use g_convert() / g_convert_with_fallback() for all character conversions. We should optimize the path.h API later to return a newly allocated buffer, so we can just pass GLib's return value. --- src/charConv.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/charConv.h (limited to 'src/charConv.h') diff --git a/src/charConv.h b/src/charConv.h deleted file mode 100644 index 728f549bb..000000000 --- a/src/charConv.h +++ /dev/null @@ -1,26 +0,0 @@ -/* the Music Player Daemon (MPD) - * Copyright (C) 2003-2007 by Warren Dukes (warren.dukes@gmail.com) - * This project's homepage is: http://www.musicpd.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef CHAR_CONV_H -#define CHAR_CONV_H - -int setCharSetConversion(const char *to, const char *from); - -char *char_conv_str(char *dest, const char *string); - -#endif -- cgit v1.2.3