From 0bad84066bc12a370b8f1e54c37f705fad21929b Mon Sep 17 00:00:00 2001 From: Marc Pavot Date: Sat, 22 Nov 2008 13:26:21 +0100 Subject: 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. --- src/idle.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/idle.h') 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 -- cgit v1.2.3