summaryrefslogtreecommitdiffstats
path: root/src/polyp/context.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-20 22:41:02 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-20 22:41:02 +0000
commit71b3bff6816b857a6a9613cc45b06f0b9e5a65e1 (patch)
treea9a7ed11a43b0069a04234b481a2466ccd7fc198 /src/polyp/context.h
parent98cb6aa4a30a993ddf2c15f0a03cb4d94383d4d9 (diff)
* modify pa_context_exit_daemon() to return a pa_operation object
* add callback prototypes to all introspection functions in client lib * add proper validity checking and error handling to all functions in the client lib * other minor cleanups * todo update git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@531 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/context.h')
-rw-r--r--src/polyp/context.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/polyp/context.h b/src/polyp/context.h
index db268759..73bcb698 100644
--- a/src/polyp/context.h
+++ b/src/polyp/context.h
@@ -95,10 +95,10 @@ void pa_context_disconnect(pa_context *c);
/** Drain the context. If there is nothing to drain, the function returns NULL */
pa_operation* pa_context_drain(pa_context *c, pa_context_notify_cb_t cb, void *userdata);
-/** Tell the daemon to exit. No operation object is returned as the
- * connection is terminated when the daemon quits, thus this operation
- * would never complete. */
-void pa_context_exit_daemon(pa_context *c);
+/** Tell the daemon to exit. The returned operation is unlikely to
+ * complete succesfully, since the daemon probably died before
+ * returning a success notification */
+pa_operation* pa_context_exit_daemon(pa_context *c, pa_context_success_cb_t cb, void *userdata);
/** Set the name of the default sink. \since 0.4 */
pa_operation* pa_context_set_default_sink(pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata);