You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

torcontrol.h 584B

1234567891011121314151617181920
  1. // Copyright (c) 2015 The Starwels developers
  2. // Distributed under the MIT software license, see the accompanying
  3. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  4. /**
  5. * Functionality for communicating with Tor.
  6. */
  7. #ifndef STARWELS_TORCONTROL_H
  8. #define STARWELS_TORCONTROL_H
  9. #include "scheduler.h"
  10. extern const std::string DEFAULT_TOR_CONTROL;
  11. static const bool DEFAULT_LISTEN_ONION = true;
  12. void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);
  13. void InterruptTorControl();
  14. void StopTorControl();
  15. #endif /* STARWELS_TORCONTROL_H */