Support a pidfile.
[apps/pfixtools.git] / daemon.h
index 76f9f94..e1b458f 100644 (file)
--- a/daemon.h
+++ b/daemon.h
@@ -36,7 +36,9 @@
 #ifndef POSTLICYD_DAEMON_H
 #define POSTLICYD_DAEMON_H
 
-int tcp_listen(const struct sockaddr *addr, socklen_t len);
+int tcp_listen_nonblock(const struct sockaddr *addr, socklen_t len);
 int accept_nonblock(int fd);
 
+int daemon_detach(void);
+
 #endif