From 3eca95ac1cb786d1aef59fd141d75661903c039a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 7 Nov 2008 16:17:21 +0100 Subject: 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. --- src/mpdclient.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mpdclient.h') 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 *****************************************************/ -- cgit v1.2.3