mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 03:47:29 -03:00
iwyu on torcontrol
This commit is contained in:
parent
fa0a60dd93
commit
faab76c1c0
3 changed files with 26 additions and 18 deletions
|
@ -22,19 +22,19 @@
|
|||
#include <ws2tcpip.h>
|
||||
#include <cstdint>
|
||||
#else
|
||||
#include <fcntl.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <ifaddrs.h>
|
||||
#include <fcntl.h>// IWYU pragma: export
|
||||
#include <sys/mman.h>// IWYU pragma: export
|
||||
#include <sys/select.h>// IWYU pragma: export
|
||||
#include <sys/socket.h>// IWYU pragma: export
|
||||
#include <sys/types.h>// IWYU pragma: export
|
||||
#include <net/if.h>// IWYU pragma: export
|
||||
#include <netinet/in.h>// IWYU pragma: export
|
||||
#include <netinet/tcp.h>// IWYU pragma: export
|
||||
#include <arpa/inet.h>// IWYU pragma: export
|
||||
#include <ifaddrs.h>// IWYU pragma: export
|
||||
#include <limits.h>
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
#include <netdb.h>// IWYU pragma: export
|
||||
#include <unistd.h>// IWYU pragma: export
|
||||
#endif
|
||||
|
||||
// We map Linux / BSD error functions and codes, to the equivalent
|
||||
|
|
|
@ -14,14 +14,26 @@
|
|||
#include <net.h>
|
||||
#include <netaddress.h>
|
||||
#include <netbase.h>
|
||||
#include <random.h>
|
||||
#include <tinyformat.h>
|
||||
#include <util/check.h>
|
||||
#include <util/fs.h>
|
||||
#include <util/readwritefile.h>
|
||||
#include <util/strencodings.h>
|
||||
#include <util/string.h>
|
||||
#include <util/thread.h>
|
||||
#include <util/time.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <event2/buffer.h>
|
||||
|
|
|
@ -11,18 +11,14 @@
|
|||
#include <netaddress.h>
|
||||
#include <util/fs.h>
|
||||
|
||||
#include <event2/util.h>
|
||||
|
||||
#include <event2/bufferevent.h>
|
||||
#include <event2/event.h>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstdint>
|
||||
#include <deque>
|
||||
#include <functional>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class CService;
|
||||
|
||||
extern const std::string DEFAULT_TOR_CONTROL;
|
||||
static const bool DEFAULT_LISTEN_ONION = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue