diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2009-06-16 19:03:22 +0300 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2009-06-16 19:03:22 +0300 |
commit | c8d819a5adbe32e14d7f03a252bca6f7df01d795 (patch) | |
tree | 4e7cd5ac628b2128f3925cb25b99675adcec2fec /src/pulsecore/core.h | |
parent | 5babbaafb26ac4f83db0d8bca53006a843472b8f (diff) |
dbus-protocol: Connection handling for local connections.
Diffstat (limited to 'src/pulsecore/core.h')
-rw-r--r-- | src/pulsecore/core.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h index c6794445..f93652e2 100644 --- a/src/pulsecore/core.h +++ b/src/pulsecore/core.h @@ -42,6 +42,13 @@ typedef struct pa_core pa_core; #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, @@ -152,6 +159,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]; }; |