diff options
author | Max Kellermann <max@duempel.org> | 2008-11-07 16:17:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-07 16:17:21 +0100 |
commit | 3eca95ac1cb786d1aef59fd141d75661903c039a (patch) | |
tree | f548c5140c6642aa26ad0cea2c59393dd458b1a4 /src/mpdclient.c | |
parent | c238364f6833320fee4256226af650347d5a751b (diff) | |
download | mpd-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 'src/mpdclient.c')
-rw-r--r-- | src/mpdclient.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpdclient.c b/src/mpdclient.c index 7907eead5..3da280cef 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -381,7 +381,7 @@ mpdclient_cmd_crossfade(mpdclient_t *c, gint value) } gint -mpdclient_cmd_db_update_utf8(mpdclient_t *c, gchar *path) +mpdclient_cmd_db_update(mpdclient_t *c, gchar *path) { mpd_sendUpdateCommand(c->connection, path ? path : ""); return mpdclient_finish_command(c); @@ -526,7 +526,7 @@ mpdclient_cmd_save_playlist(mpdclient_t *c, gchar *filename_utf8) } gint -mpdclient_cmd_load_playlist_utf8(mpdclient_t *c, gchar *filename_utf8) +mpdclient_cmd_load_playlist(mpdclient_t *c, gchar *filename_utf8) { mpd_sendLoadCommand(c->connection, filename_utf8); c->need_update = TRUE; @@ -795,7 +795,7 @@ mpdclient_filelist_add_all(mpdclient_t *c, mpdclient_filelist_t *fl) } GList * -mpdclient_get_artists_utf8(mpdclient_t *c) +mpdclient_get_artists(mpdclient_t *c) { gchar *str = NULL; GList *list = NULL; @@ -811,7 +811,7 @@ mpdclient_get_artists_utf8(mpdclient_t *c) } GList * -mpdclient_get_albums_utf8(mpdclient_t *c, gchar *artist_utf8) +mpdclient_get_albums(mpdclient_t *c, gchar *artist_utf8) { gchar *str = NULL; GList *list = NULL; |