aboutsummaryrefslogtreecommitdiff
path: root/src/lib/process/daemon.h
blob: 08cab17e128d179dca5c3a356a106ec313cb3367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
int finish_daemon(const char *desired_cwd);

#endif