From a24270a451c4ac7f8018bdd909a8f762e6abe80c Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Sun, 12 Sep 2004 10:23:42 +0000 Subject: 2004-09-12 David Zeuthen Patch from Kay Sievers * bus/bus.c (bus_context_new): * bus/bus.h: * bus/main.c (usage) (main): Add commandline option --nofork to override configuration file setting. --- bus/bus.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bus/bus.h') diff --git a/bus/bus.h b/bus/bus.h index 79adf83a..1a900ead 100644 --- a/bus/bus.h +++ b/bus/bus.h @@ -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); -- cgit