dbus-protocol: Connection handling for local connections.

This commit is contained in:
Tanu Kaskinen 2009-06-16 19:03:22 +03:00
parent 5babbaafb2
commit c8d819a5ad
11 changed files with 644 additions and 69 deletions

View file

@ -28,6 +28,7 @@
#include <pulsecore/log.h>
#include <pulsecore/macro.h>
#include <pulsecore/core.h>
#include <pulsecore/core-util.h>
#ifdef HAVE_SYS_RESOURCE_H
@ -48,13 +49,6 @@ typedef enum pa_daemon_conf_cmd {
PA_CMD_CLEANUP_SHM
} pa_daemon_conf_cmd_t;
typedef enum pa_daemon_conf_server_type {
PA_SERVER_TYPE_UNSET,
PA_SERVER_TYPE_USER,
PA_SERVER_TYPE_SYSTEM,
PA_SERVER_TYPE_NONE
} pa_daemon_conf_server_type_t;
#ifdef HAVE_SYS_RESOURCE_H
typedef struct pa_rlimit {
rlim_t value;
@ -81,7 +75,7 @@ typedef struct pa_daemon_conf {
log_meta,
log_time,
flat_volumes;
pa_daemon_conf_server_type_t local_server_type;
pa_server_type_t local_server_type;
int exit_idle_time,
scache_idle_time,
auto_log_target,