daemon.h 446 B

123456789101112131415161718192021
  1. /* Copyright (c) 2003-2004, Roger Dingledine
  2. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  3. * Copyright (c) 2007-2019, The Tor Project, Inc. */
  4. /* See LICENSE for licensing information */
  5. /**
  6. * \file daemon.h
  7. * \brief Header for daemon.c
  8. **/
  9. #ifndef TOR_DAEMON_H
  10. #define TOR_DAEMON_H
  11. #include <stdbool.h>
  12. int start_daemon(void);
  13. int finish_daemon(const char *desired_cwd);
  14. bool start_daemon_has_been_called(void);
  15. #endif