summaryrefslogtreecommitdiffstats
path: root/polyp/core.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-04 00:27:36 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-04 00:27:36 +0000
commit57e473b61cf373f8d9befb03d359b999eca4262b (patch)
tree0c4d0798db9c4ecf4804aaaff60e9fe8b30ac0f6 /polyp/core.h
parentfb962b67dbeb54d1cdd453c6f902b7c679b9197f (diff)
add support for automatic termination of the daemon after the last client quit
remove all gcc warnings add boolean types for tagstruct and modargs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@178 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/core.h')
-rw-r--r--polyp/core.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/polyp/core.h b/polyp/core.h
index ffcd018b..513d8172 100644
--- a/polyp/core.h
+++ b/polyp/core.h
@@ -48,9 +48,15 @@ struct pa_core {
struct pa_memblock_stat *memblock_stat;
int disallow_module_loading;
+ int quit_after_last_client_time;
+
+ struct pa_time_event *quit_event;
+
};
struct pa_core* pa_core_new(struct pa_mainloop_api *m);
void pa_core_free(struct pa_core*c);
+void pa_core_check_quit(struct pa_core *c);
+
#endif