summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2004-10-29 19:59:15 +0000
committerColin Walters <walters@verbum.org>2004-10-29 19:59:15 +0000
commite430788a6bfb50c628825cdf6e09476e41dc1a78 (patch)
tree8e2a4623d1acf89fa157ecb1e3ca952e45a49cad /dbus/dbus-sysdeps.h
parentfbc29a8a78edae303e997f1a98d6b4618ea7868a (diff)
2004-10-29 Colin Walters <walters@redhat.com>
* dbus/dbus-sysdeps.h (_dbus_become_daemon): Also take parameter for fd to write pid to. * dbus/dbus-sysdeps.c (_dbus_become_daemon): Implement it. * bus/bus.c (bus_context_new): Pass print_pid_fd to _dbus_become_daemon (bug #1720)
Diffstat (limited to 'dbus/dbus-sysdeps.h')
-rw-r--r--dbus/dbus-sysdeps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h
index 7e89d61b..5227a697 100644
--- a/dbus/dbus-sysdeps.h
+++ b/dbus/dbus-sysdeps.h
@@ -298,6 +298,7 @@ dbus_bool_t _dbus_close (int fd,
void _dbus_print_backtrace (void);
dbus_bool_t _dbus_become_daemon (const DBusString *pidfile,
+ int print_pid_fd,
DBusError *error);
dbus_bool_t _dbus_write_pid_file (const DBusString *filename,
unsigned long pid,