Merge branch 'maint-0.4.8' into release-0.4.8
[tor.git] / src / lib / process / daemon.h
blob35b56b3988ea2278d29740d297640ce90a41c964
1 /* Copyright (c) 2003-2004, Roger Dingledine
2 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3 * Copyright (c) 2007-2021, The Tor Project, Inc. */
4 /* See LICENSE for licensing information */
6 /**
7 * \file daemon.h
8 * \brief Header for daemon.c
9 **/
11 #ifndef TOR_DAEMON_H
12 #define TOR_DAEMON_H
14 #include <stdbool.h>
16 int start_daemon(void);
17 int finish_daemon(const char *desired_cwd);
19 bool start_daemon_has_been_called(void);
21 #endif /* !defined(TOR_DAEMON_H) */