summaryrefslogtreecommitdiffstats
path: root/src/polyp/context.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-20 16:10:20 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-20 16:10:20 +0000
commit6d0960246036564a6a8bf36b0839158cacc6a81a (patch)
tree22de5a5a69dbdd0ac268d075aceb3075a2016428 /src/polyp/context.h
parente078f084e44de3c4a87bb4fd7a0be9dbda64b604 (diff)
replace "spawn" parameter of pa_context_new() with a proper flags parameter
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@523 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/context.h')
-rw-r--r--src/polyp/context.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/polyp/context.h b/src/polyp/context.h
index 1c06c434..a299400a 100644
--- a/src/polyp/context.h
+++ b/src/polyp/context.h
@@ -84,11 +84,11 @@ pa_context_state_t pa_context_get_state(pa_context *c);
/** Connect the context to the specified server. If server is NULL,
connect to the default server. This routine may but will not always
return synchronously on error. Use pa_context_set_state_callback() to
-be notified when the connection is established. If spawn is non-zero
-and no specific server is specified or accessible a new daemon is
-spawned. If api is non-NULL, the functions specified in the structure
-are used when forking a new child process. */
-int pa_context_connect(pa_context *c, const char *server, int spawn, const pa_spawn_api *api);
+be notified when the connection is established. If flags doesn't have
+PA_NOAUTOSPAWN set and no specific server is specified or accessible a
+new daemon is spawned. If api is non-NULL, the functions specified in
+the structure are used when forking a new child process. */
+int pa_context_connect(pa_context *c, const char *server, pa_context_flags_t flags, const pa_spawn_api *api);
/** Terminate the context connection immediately */
void pa_context_disconnect(pa_context *c);