summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-10-07 03:39:30 +0200
committerLennart Poettering <lennart@poettering.net>2009-10-07 03:39:30 +0200
commit692ce73899285c6ed07e93084a5f830a9a8effcc (patch)
treefb57aacd95086eb35787f902353857daf3f8fe95 /src/pulsecore/core.h
parentb3592a160f0d2a28605048a81c0261bf7c45acbb (diff)
parent019331d25b6af107fb8cacc3ada552e7567a64bf (diff)
Merge remote branch 'tanuk/dbus-work'
Diffstat (limited to 'src/pulsecore/core.h')
-rw-r--r--src/pulsecore/core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h
index c1002f93..bfcea4f6 100644
--- a/src/pulsecore/core.h
+++ b/src/pulsecore/core.h
@@ -52,6 +52,13 @@ typedef enum pa_suspend_cause {
#include <pulsecore/sink-input.h>
#include <pulsecore/msgobject.h>
+typedef enum pa_server_type {
+ PA_SERVER_TYPE_UNSET,
+ PA_SERVER_TYPE_USER,
+ PA_SERVER_TYPE_SYSTEM,
+ PA_SERVER_TYPE_NONE
+} pa_server_type_t;
+
typedef enum pa_core_state {
PA_CORE_STARTUP,
PA_CORE_RUNNING,
@@ -161,6 +168,8 @@ struct pa_core {
pa_resample_method_t resample_method;
int realtime_priority;
+ pa_server_type_t server_type;
+
/* hooks */
pa_hook hooks[PA_CORE_HOOK_MAX];
};