mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
22 lines
446 B
C
22 lines
446 B
C
/* Copyright (c) 2003-2004, Roger Dingledine
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
* Copyright (c) 2007-2019, 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
|
|
|
|
#include <stdbool.h>
|
|
|
|
int start_daemon(void);
|
|
int finish_daemon(const char *desired_cwd);
|
|
|
|
bool start_daemon_has_been_called(void);
|
|
|
|
#endif
|