summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-06 19:39:12 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-06 19:39:12 +0200
commit756fac8d0433d02819d3910238ebf1b7a33a3046 (patch)
tree92da910d93ed3741d2629ea124f009546bcc629e /src/pulsecore/core.h
parentf1d2bf84089b1e5b5988a5e5d6d571a507a52337 (diff)
add new switch --disallow-exit
Diffstat (limited to 'src/pulsecore/core.h')
-rw-r--r--src/pulsecore/core.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h
index e11655ef..eb768418 100644
--- a/src/pulsecore/core.h
+++ b/src/pulsecore/core.h
@@ -115,11 +115,12 @@ struct pa_core {
int exit_idle_time, module_idle_time, scache_idle_time;
- pa_time_event *quit_event;
+ pa_time_event *exit_event;
pa_time_event *scache_auto_unload_event;
pa_bool_t disallow_module_loading:1;
+ pa_bool_t disallow_exit:1;
pa_bool_t running_as_daemon:1;
pa_bool_t realtime_scheduling:1;
pa_bool_t disable_remixing:1;
@@ -142,6 +143,8 @@ enum {
pa_core* pa_core_new(pa_mainloop_api *m, int shared);
/* Check whether noone is connected to this core */
-void pa_core_check_quit(pa_core *c);
+void pa_core_check_idle(pa_core *c);
+
+int pa_core_exit(pa_core *c, pa_bool_t force, int retval);
#endif