aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 3df098c68..15893f160 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -64,6 +64,10 @@ int tor_socketpair(int family, int type, int protocol, int fd[2]);
const char *get_uname(void);
+void daemonize(void);
+void write_pidfile(char *filename);
+int switch_id(char *user, char *group);
+
/* For stupid historical reasons, windows sockets have an independent set of
* errnos which they use as the fancy strikes them.
*/