summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 541ffa3)
raw | patch | inline | side by side (parent: 541ffa3)
author | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 18:57:29 +0000 (20:57 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 29 Sep 2009 18:57:29 +0000 (20:57 +0200) |
This function will allow callers to use libmpdclient2 directly.
src/mpdclient.c | patch | blob | history | |
src/mpdclient.h | patch | blob | history |
diff --git a/src/mpdclient.c b/src/mpdclient.c
index 6eb41448264c056ae38dfaa21de25d8807f0087d..e7024d298d1dea24c2f20fd6f177e4a220140f88 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
/*** mpdclient functions ****************************************************/
/****************************************************************************/
-static gint
+gint
mpdclient_handle_error(struct mpdclient *c)
{
enum mpd_error error = mpd_connection_get_error(c->connection);
diff --git a/src/mpdclient.h b/src/mpdclient.h
index 10fc226dfc76dbed2345dba73c57f87929ff2bf8..5d299bfc1be66514a7c13c331e67b5fd4d2d46b2 100644 (file)
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
/** functions ***************************************************************/
+gint
+mpdclient_handle_error(struct mpdclient *c);
+
gint
mpdclient_finish_command(struct mpdclient *c);