aboutsummaryrefslogtreecommitdiffstats
path: root/src/charConv.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-15 19:36:30 +0200
committerMax Kellermann <max@duempel.org>2008-10-15 19:36:30 +0200
commit8746a58ab93f0662bf1e8b91a36c261822ffeed5 (patch)
treeecacc9d8c682cb2621cbd8d3298ef7e3ee056542 /src/charConv.h
parente89599eaad23990973efd43f01cb802917a31cff (diff)
downloadmpd-8746a58ab93f0662bf1e8b91a36c261822ffeed5.tar.gz
mpd-8746a58ab93f0662bf1e8b91a36c261822ffeed5.tar.xz
mpd-8746a58ab93f0662bf1e8b91a36c261822ffeed5.zip
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.
Diffstat (limited to 'src/charConv.h')
-rw-r--r--src/charConv.h26
1 files changed, 0 insertions, 26 deletions
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