aboutsummaryrefslogtreecommitdiff
path: root/src/daemon.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-18 18:29:30 +0100
committerMax Kellermann <max@duempel.org>2009-01-18 18:29:30 +0100
commit9c93249412076dcf52732561b0f6150c3e8000d8 (patch)
tree262d80c2920a0119d1413298a9f2e1fef2954c40 /src/daemon.h
parentbfcaecabbda1ec9473a92f6a413a51db564d9d6e (diff)
daemon: pass "detach" flag to daemonize()
This way, we don't have to pass the full "Options" object to daemonize().
Diffstat (limited to 'src/daemon.h')
-rw-r--r--src/daemon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon.h b/src/daemon.h
index 96963015..b58160d3 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -19,7 +19,7 @@
#ifndef DAEMON_H
#define DAEMON_H
-#include "cmdline.h"
+#include <stdbool.h>
void
daemonize_init(const char *user, const char *pidfile);
@@ -47,6 +47,6 @@ void
daemonize_set_user(void);
void
-daemonize(Options *options);
+daemonize(bool detach);
#endif