diff options
author | Simon McVittie <smcv@debian.org> | 2012-02-21 17:41:45 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2012-02-21 17:41:45 +0000 |
commit | e9e3de91b1b4eed81ac46aa65ef2d04d6eb612a2 (patch) | |
tree | 86f6da07dfecf4b1aa9b5d7353b030955117c8d8 /bus/bus.h | |
parent | 179af6d37b9de89aa652bd19ff7424c9f08b55f0 (diff) | |
download | dbus-e9e3de91b1b4eed81ac46aa65ef2d04d6eb612a2.tar.gz |
Imported Upstream version 1.5.10upstream/1.5.10
Diffstat (limited to 'bus/bus.h')
-rw-r--r-- | bus/bus.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -66,17 +66,18 @@ typedef struct typedef enum { - FORK_FOLLOW_CONFIG_FILE, - FORK_ALWAYS, - FORK_NEVER -} ForceForkSetting; + BUS_CONTEXT_FLAG_NONE = 0, + BUS_CONTEXT_FLAG_FORK_ALWAYS = (1 << 1), + BUS_CONTEXT_FLAG_FORK_NEVER = (1 << 2), + BUS_CONTEXT_FLAG_WRITE_PID_FILE = (1 << 3), + BUS_CONTEXT_FLAG_SYSTEMD_ACTIVATION = (1 << 4) +} BusContextFlags; BusContext* bus_context_new (const DBusString *config_file, - ForceForkSetting force_fork, + BusContextFlags flags, DBusPipe *print_addr_pipe, DBusPipe *print_pid_pipe, const DBusString *address, - dbus_bool_t systemd_activation, DBusError *error); dbus_bool_t bus_context_reload_config (BusContext *context, DBusError *error); |