diff options
author | David Zeuthen <davidz@redhat.com> | 2004-09-12 10:23:42 +0000 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2004-09-12 10:23:42 +0000 |
commit | a24270a451c4ac7f8018bdd909a8f762e6abe80c (patch) | |
tree | ec7369b34b78779be8ee0bcb1b652b1571fd4275 /bus/bus.h | |
parent | a9ff341aa66588c12275529ee2d16843b493cb4f (diff) | |
download | dbus-a24270a451c4ac7f8018bdd909a8f762e6abe80c.tar.gz |
2004-09-12 David Zeuthen <david@fubar.dk>
Patch from Kay Sievers <kay.sievers@vrfy.org>
* bus/bus.c (bus_context_new):
* bus/bus.h:
* bus/main.c (usage)
(main):
Add commandline option --nofork to override configuration file
setting.
Diffstat (limited to 'bus/bus.h')
-rw-r--r-- | bus/bus.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -61,8 +61,15 @@ typedef struct int reply_timeout; /**< How long to wait before timing out a reply */ } BusLimits; +typedef enum +{ + FORK_FOLLOW_CONFIG_FILE, + FORK_ALWAYS, + FORK_NEVER +} ForceForkSetting; + BusContext* bus_context_new (const DBusString *config_file, - dbus_bool_t force_fork, + ForceForkSetting force_fork, int print_addr_fd, int print_pid_fd, DBusError *error); |