aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpc.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-14 18:32:31 +0000
committerKalle Wallin <kaw@linux.se>2004-06-14 18:32:31 +0000
commit39758c8503fb5390afaceeff3dd5b0bca75feb97 (patch)
tree94f42a18c5cb0da8778e8525ded49fb98012bbfc /src/mpc.h
parent7844008980d4d1b9cb7cbd4dda4ae912e12dd7a9 (diff)
downloadmpd-39758c8503fb5390afaceeff3dd5b0bca75feb97.tar.gz
mpd-39758c8503fb5390afaceeff3dd5b0bca75feb97.tar.xz
mpd-39758c8503fb5390afaceeff3dd5b0bca75feb97.zip
Major cleanup of the mpd client code (mpc->mpdclient)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1481 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mpc.h')
-rw-r--r--src/mpc.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/mpc.h b/src/mpc.h
deleted file mode 100644
index 152f1532b..000000000
--- a/src/mpc.h
+++ /dev/null
@@ -1,51 +0,0 @@
-
-typedef struct
-{
- char selected;
- mpd_InfoEntity *entity;
-} filelist_entry_t;
-
-typedef struct
-{
- mpd_Connection *connection;
- mpd_Status *status;
-
- mpd_Song *song;
- int song_id;
- int song_updated;
-
- int seek_song_id;
- int seek_target_time;
-
- GList *playlist;
- int playlist_length;
- long long playlist_id;
- int playlist_updated;
-
- char *cwd;
- GList *filelist;
- int filelist_length;
- int filelist_updated;
-
-} mpd_client_t;
-
-
-int mpc_close(mpd_client_t *c);
-
-mpd_client_t *mpc_connect(char *host, int port, char *passwd);
-int mpc_reconnect(mpd_client_t *c, char *host, int port, char *passwd);
-
-int mpc_update(mpd_client_t *c);
-int mpc_update_playlist(mpd_client_t *c);
-
-int mpc_update_filelist(mpd_client_t *c);
-int mpc_filelist_set_selected(mpd_client_t *c);
-int mpc_set_cwd(mpd_client_t *c, char *dir);
-
-mpd_Song *mpc_playlist_get_song(mpd_client_t *c, int n);
-char *mpc_get_song_name(mpd_Song *song);
-char *mpc_get_song_name2(mpd_Song *song);
-int mpc_playlist_get_song_index(mpd_client_t *c, char *filename);
-
-int mpc_error(mpd_client_t *c);
-char *mpc_error_str(mpd_client_t *c);