summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eda151c)
raw | patch | inline | side by side (parent: eda151c)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Wed, 4 Jan 2012 17:50:28 +0000 (18:50 +0100) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Wed, 4 Jan 2012 17:50:28 +0000 (18:50 +0100) |
src/mpdclient.h | patch | blob | history |
diff --git a/src/mpdclient.h b/src/mpdclient.h
index d46b8a1c71460a45162a94cfdbd9599940b73858..3b02681a47e953e7d7ea077afe51bd00af1fd6e8 100644 (file)
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
void mpdclient_free(struct mpdclient *c);
+G_GNUC_PURE
static inline bool
mpdclient_is_connected(const struct mpdclient *c)
{
mpd_status_get_state(c->status) == MPD_STATE_PAUSE);
}
+G_GNUC_PURE
static inline const struct mpd_song *
mpdclient_get_current_song(const struct mpdclient *c)
{