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.
20 lines
590 B
20 lines
590 B
// Copyright (c) 2015-2017 The Bitcoin Core developers |
|
// Distributed under the MIT software license, see the accompanying |
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php. |
|
|
|
/** |
|
* Functionality for communicating with Tor. |
|
*/ |
|
#ifndef BITCOIN_TORCONTROL_H |
|
#define BITCOIN_TORCONTROL_H |
|
|
|
#include <scheduler.h> |
|
|
|
extern const std::string DEFAULT_TOR_CONTROL; |
|
static const bool DEFAULT_LISTEN_ONION = true; |
|
|
|
void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler); |
|
void InterruptTorControl(); |
|
void StopTorControl(); |
|
|
|
#endif /* BITCOIN_TORCONTROL_H */
|
|
|