aboutsummaryrefslogtreecommitdiff
path: root/src/lib/process/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/process/daemon.h')
-rw-r--r--src/lib/process/daemon.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/process/daemon.h b/src/lib/process/daemon.h
new file mode 100644
index 0000000000..1f26e92221
--- /dev/null
+++ b/src/lib/process/daemon.h
@@ -0,0 +1,17 @@
+/* Copyright (c) 2003-2004, Roger Dingledine
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file daemon.h
+ * \brief Header for daemon.c
+ **/
+
+#ifndef TOR_DAEMON_H
+#define TOR_DAEMON_H
+
+void start_daemon(void);
+void finish_daemon(const char *desired_cwd);
+
+#endif