aboutsummaryrefslogtreecommitdiffstats
path: root/src/idle.h
diff options
context:
space:
mode:
authorMarc Pavot <m.pavot@gmail.com>2008-11-22 13:26:21 +0100
committerMax Kellermann <max@duempel.org>2008-11-22 13:26:21 +0100
commit0bad84066bc12a370b8f1e54c37f705fad21929b (patch)
tree4d3b34b9e984aafd4389f98fa858d996e52df104 /src/idle.h
parent976d5045c671700b1e16ed2b98e746a67fa91e8b (diff)
downloadmpd-0bad84066bc12a370b8f1e54c37f705fad21929b.tar.gz
mpd-0bad84066bc12a370b8f1e54c37f705fad21929b.tar.xz
mpd-0bad84066bc12a370b8f1e54c37f705fad21929b.zip
command: allow clients to subscribe to specific idle events
The client may provide the names of idle events as arguments to the "idle" command to inform MPD that it is only interested in these events.
Diffstat (limited to 'src/idle.h')
-rw-r--r--src/idle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/idle.h b/src/idle.h
index 69756b153..5079f09db 100644
--- a/src/idle.h
+++ b/src/idle.h
@@ -61,4 +61,10 @@ idle_add(unsigned flags);
unsigned
idle_get(void);
+/**
+ * Get idle names
+ */
+const char*const*
+idle_get_names(void);
+
#endif