]>
Commit | Line | Data |
---|---|---|
eb5f63fe WL |
1 | // Copyright (c) 2015 The Bitcoin Core developers |
2 | // Distributed under the MIT software license, see the accompanying | |
bc909a7a | 3 | // file COPYING or https://www.opensource.org/licenses/mit-license.php . |
eb5f63fe WL |
4 | |
5 | /** | |
6 | * Functionality for communicating with Tor. | |
7 | */ | |
8 | #ifndef BITCOIN_TORCONTROL_H | |
9 | #define BITCOIN_TORCONTROL_H | |
10 | ||
11 | #include "scheduler.h" | |
12 | ||
13 | extern const std::string DEFAULT_TOR_CONTROL; | |
14 | static const bool DEFAULT_LISTEN_ONION = true; | |
15 | ||
16 | void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler); | |
975dc649 | 17 | void InterruptTorControl(); |
eb5f63fe WL |
18 | void StopTorControl(); |
19 | ||
20 | #endif /* BITCOIN_TORCONTROL_H */ |