aboutsummaryrefslogtreecommitdiffstats
path: root/mpc.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-03-29 18:09:38 +0000
committerKalle Wallin <kaw@linux.se>2004-03-29 18:09:38 +0000
commitb4c27011d20196aeeb104edb3c2e3dd97861e8d8 (patch)
treedf2492d66f86e4470da2b12ae4425ee093b5677c /mpc.h
parent30327ee6f3bc929ae9f8ceca73a6b0ef8e5a0282 (diff)
downloadmpd-b4c27011d20196aeeb104edb3c2e3dd97861e8d8.tar.gz
mpd-b4c27011d20196aeeb104edb3c2e3dd97861e8d8.tar.xz
mpd-b4c27011d20196aeeb104edb3c2e3dd97861e8d8.zip
Added password support.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@534 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'mpc.h')
-rw-r--r--mpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpc.h b/mpc.h
index 608d22c5c..b18974b61 100644
--- a/mpc.h
+++ b/mpc.h
@@ -28,8 +28,8 @@ typedef struct
int mpc_close(mpd_client_t *c);
-mpd_client_t *mpc_connect(char *host, int port);
-int mpc_reconnect(mpd_client_t *c, char *host, int port);
+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);