Tor 0.4.9.0-alpha-dev
daemon.h
Go to the documentation of this file.
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 */
5
6/**
7 * \file daemon.h
8 * \brief Header for daemon.c
9 **/
10
11#ifndef TOR_DAEMON_H
12#define TOR_DAEMON_H
13
14#include <stdbool.h>
15
16int start_daemon(void);
17int finish_daemon(const char *desired_cwd);
18
20
21#endif /* !defined(TOR_DAEMON_H) */
bool start_daemon_has_been_called(void)
Definition: daemon.c:46
int start_daemon(void)
Definition: daemon.c:58
int finish_daemon(const char *desired_cwd)
Definition: daemon.c:121