summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/protocol-dbus.h
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2009-08-10 10:38:01 +0300
committerTanu Kaskinen <tanuk@iki.fi>2009-08-10 10:38:01 +0300
commit7cfda56af99b6d6bbb92fd6de208edd4c6991240 (patch)
treeeb07a379def387efe56d82cfd532e553c7514fcc /src/pulsecore/protocol-dbus.h
parent8c8df77d2a774a65741539381496d02f04747974 (diff)
dbus-protocol: Add a note for _send_signal that by default the signal isn't
actually sent.
Diffstat (limited to 'src/pulsecore/protocol-dbus.h')
-rw-r--r--src/pulsecore/protocol-dbus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/protocol-dbus.h b/src/pulsecore/protocol-dbus.h
index c6b630a1..38ba8a18 100644
--- a/src/pulsecore/protocol-dbus.h
+++ b/src/pulsecore/protocol-dbus.h
@@ -149,6 +149,10 @@ void pa_dbus_protocol_add_signal_listener(pa_dbus_protocol *p, DBusConnection *c
* do anything in that case either. */
void pa_dbus_protocol_remove_signal_listener(pa_dbus_protocol *p, DBusConnection *conn, const char *signal);
+/* Sends the given signal to all interested clients. By default no signals are
+ * sent - clients have to explicitly to request signals by calling
+ * .Core1.ListenForSignal. That method's handler then calls
+ * pa_dbus_protocol_add_signal_listener(). */
void pa_dbus_protocol_send_signal(pa_dbus_protocol *p, DBusMessage *signal);
/* Returns an array of extension identifier strings. The strings pointers point