aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 16:17:21 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 16:17:21 +0100
commit3eca95ac1cb786d1aef59fd141d75661903c039a (patch)
treef548c5140c6642aa26ad0cea2c59393dd458b1a4 /src/mpdclient.h
parentc238364f6833320fee4256226af650347d5a751b (diff)
downloadmpd-3eca95ac1cb786d1aef59fd141d75661903c039a.tar.gz
mpd-3eca95ac1cb786d1aef59fd141d75661903c039a.tar.xz
mpd-3eca95ac1cb786d1aef59fd141d75661903c039a.zip
mpdclient: removed _utf8 suffix from function names
All functions must receive UTF-8 file names. Delete all which still work with locale strings, and remove the _utf8 suffix from the others.
Diffstat (limited to '')
-rw-r--r--src/mpdclient.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpdclient.h b/src/mpdclient.h
index d0d5cdfd2..e3b662a3f 100644
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
@@ -57,7 +57,7 @@ gint mpdclient_cmd_clear(mpdclient_t *c);
gint mpdclient_cmd_repeat(mpdclient_t *c, gint value);
gint mpdclient_cmd_random(mpdclient_t *c, gint value);
gint mpdclient_cmd_crossfade(mpdclient_t *c, gint value);
-gint mpdclient_cmd_db_update_utf8(mpdclient_t *c, gchar *path);
+gint mpdclient_cmd_db_update(mpdclient_t *c, gchar *path);
gint mpdclient_cmd_volume(mpdclient_t *c, gint value);
gint mpdclient_cmd_add_path(mpdclient_t *c, gchar *path);
@@ -66,12 +66,12 @@ gint mpdclient_cmd_delete(mpdclient_t *c, gint index);
gint mpdclient_cmd_move(mpdclient_t *c, gint old_index, gint new_index);
gint mpdclient_cmd_save_playlist(mpdclient_t *c, gchar *filename);
-gint mpdclient_cmd_load_playlist_utf8(mpdclient_t *c, gchar *filename_utf8);
+gint mpdclient_cmd_load_playlist(mpdclient_t *c, gchar *filename_utf8);
gint mpdclient_cmd_delete_playlist(mpdclient_t *c, gchar *filename_utf8);
/* list functions */
-GList *mpdclient_get_artists_utf8(mpdclient_t *c);
-GList *mpdclient_get_albums_utf8(mpdclient_t *c, gchar *artist_utf8);
+GList *mpdclient_get_artists(mpdclient_t *c);
+GList *mpdclient_get_albums(mpdclient_t *c, gchar *artist_utf8);
/*** error callbacks *****************************************************/