Tor
0.4.7.0-alpha-dev
lib
process
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
16
int
start_daemon
(
void
);
17
int
finish_daemon
(
const
char
*desired_cwd);
18
19
bool
start_daemon_has_been_called
(
void
);
20
21
#endif
/* !defined(TOR_DAEMON_H) */
start_daemon_has_been_called
bool start_daemon_has_been_called(void)
Definition:
daemon.c:46
start_daemon
int start_daemon(void)
Definition:
daemon.c:58
finish_daemon
int finish_daemon(const char *desired_cwd)
Definition:
daemon.c:121
Generated by
1.9.1