Reorganise source into more folders

pull/214/head
Michael 5 years ago
parent 9c1804b398
commit 081d4dfa32
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -209,32 +209,32 @@ if(UNIX)
add_definitions(-DPOSIX)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-unix-linux.c)
set(EV_SRC llarp/ev_epoll.cpp)
set(EV_SRC llarp/ev/ev_epoll.cpp)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android")
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-unix-linux.c)
set(EV_SRC llarp/ev_epoll.cpp)
set(EV_SRC llarp/ev/ev_epoll.cpp)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-unix-openbsd.c ${TT_ROOT}/tuntap-unix-bsd.c)
set(EV_SRC llarp/ev_kqueue.cpp)
set(EV_SRC llarp/ev/ev_kqueue.cpp)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-unix-netbsd.c ${TT_ROOT}/tuntap-unix-bsd.c)
set(EV_SRC llarp/ev_kqueue.cpp)
set(EV_SRC llarp/ev/ev_kqueue.cpp)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-unix-freebsd.c ${TT_ROOT}/tuntap-unix-bsd.c)
set(EV_SRC llarp/ev_kqueue.cpp)
set(EV_SRC llarp/ev/ev_kqueue.cpp)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-unix-darwin.c ${TT_ROOT}/tuntap-unix-bsd.c)
set(EV_SRC llarp/ev_kqueue.cpp)
set(EV_SRC llarp/ev/ev_kqueue.cpp)
# TODO: _actually_ port to solaris/illumos (it's fairly complete...except for TUN) -rick
elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-unix-sunos.c)
set(EV_SRC llarp/ev_epoll.cpp)
set(EV_SRC llarp/ev/ev_epoll.cpp)
else()
message(FATAL_ERROR "Your operating system is not supported yet")
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
elseif(WIN32)
set(LIBTUNTAP_IMPL ${TT_ROOT}/tuntap-windows.c)
set(EV_SRC llarp/ev_win32.cpp)
set(EV_SRC llarp/ev/ev_win32.cpp)
add_definitions(-DWIN32_LEAN_AND_MEAN -DWIN32 -DWINVER=0x500 -D_WIN32_WINNT=0x500)
else()
message(FATAL_ERROR "What operating system _are_ you building on/for?")
@ -291,8 +291,10 @@ set(LIB_UTIL_SRC
llarp/util/encode.cpp
llarp/util/endian.cpp
llarp/util/fs.cpp
llarp/util/ini.cpp
llarp/util/logger.c
llarp/util/logger.cpp
llarp/util/logic.cpp
llarp/util/mem.cpp
llarp/util/queue_manager.cpp
llarp/util/queue.cpp
@ -307,10 +309,8 @@ set(LIB_UTIL_SRC
)
set(LIB_PLATFORM_SRC
# needed for threading
llarp/logic.cpp
# for networking
llarp/ev.cpp
llarp/ev/ev.cpp
llarp/net.cpp
llarp/net_addr.cpp
llarp/net_inaddr.cpp
@ -459,11 +459,14 @@ if(WIN32)
endif(WIN32)
set(DNSLIB_SRC
llarp/dns/dotlokilookup.cpp
llarp/dns/dns.cpp
llarp/dns/iptracker.cpp
llarp/dns/message.cpp
llarp/dns/name.cpp
llarp/dns/query.cpp
llarp/dns/question.cpp
llarp/dns/rectypes.cpp
llarp/dns/rr.cpp
llarp/dns/serialize.cpp
llarp/dns/server.cpp
@ -502,9 +505,6 @@ set(LIB_SRC
llarp/dht/node.cpp
llarp/dht/publish_intro.cpp
llarp/dns.cpp
llarp/dns_dotlokilookup.cpp
llarp/dns_iptracker.cpp
llarp/dns_rectypes.cpp
llarp/dnsc.cpp
llarp/dnsd.cpp
llarp/encrypted.cpp
@ -526,7 +526,6 @@ set(LIB_SRC
llarp/handlers/exit.cpp
llarp/handlers/null.cpp
llarp/handlers/tun.cpp
llarp/ini.cpp
llarp/ip.cpp
llarp/link/curvecp.cpp
llarp/link/encoder.cpp
@ -537,7 +536,6 @@ set(LIB_SRC
llarp/link_intro.cpp
llarp/link_layer.cpp
llarp/link_message.cpp
llarp/messages.cpp
llarp/messages/dht.cpp
llarp/messages/dht_immediate.cpp
llarp/messages/discard.cpp
@ -551,10 +549,10 @@ set(LIB_SRC
llarp/messages/transfer_traffic.cpp
llarp/net_int.cpp
llarp/nodedb.cpp
llarp/path.cpp
llarp/path_types.cpp
llarp/pathbuilder.cpp
llarp/pathset.cpp
llarp/path/path.cpp
llarp/path/path_types.cpp
llarp/path/pathbuilder.cpp
llarp/path/pathset.cpp
llarp/pow.cpp
llarp/profiling.cpp
llarp/proofofwork.cpp

@ -3,11 +3,11 @@
#ifdef __cplusplus
#include <constants/version.hpp>
#include <ev.h>
#include <ev/ev.h>
#include <handlers/tun.hpp> // for handlers
#include <logic.hpp>
#include <service/address.hpp> // for service::address
#include <service/endpoint.hpp>
#include <util/logic.hpp>
#include <util/mem.h>
extern "C"

@ -2,9 +2,9 @@
#include <config.hpp>
#include <constants/defaults.hpp>
#include <ini.hpp>
#include <net.hpp>
#include <util/fs.hpp>
#include <util/ini.hpp>
#include <util/logger.hpp>
#include <util/mem.hpp>

@ -1,5 +1,5 @@
#ifndef LIBLLARP_CONFIG_HPP
#define LIBLLARP_CONFIG_HPP
#ifndef LLARP_CONFIG_HPP
#define LLARP_CONFIG_HPP
#include <config.h>
#include <list>

@ -2,12 +2,12 @@
#include <llarp.h>
#include <dht/context.hpp>
#include <dns_dotlokilookup.hpp>
#include <dns/dotlokilookup.hpp>
#include <dnsd.hpp>
#include <ev.hpp>
#include <util/logger.h>
#include <router.hpp>
#include <ev/ev.hpp>
#include <nodedb.hpp>
#include <router.hpp>
#include <util/logger.h>
#include <getopt.h>
#include <signal.h>

@ -3,7 +3,7 @@
#include <dht.h>
#include <dht/key.hpp>
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <util/bencode.hpp>
#include <vector>

@ -1,5 +1,5 @@
#ifndef LIBLLARP_DNS_HPP
#define LIBLLARP_DNS_HPP
#ifndef LLARP_DNS_HPP
#define LLARP_DNS_HPP
#include <dns.h>
#include <sys/types.h> // for uint & ssize_t
@ -8,8 +8,8 @@
#include <sys/socket.h>
#endif
#include <dns/rectypes.hpp>
#include <net.hpp> // for llarp::Addr , llarp::huint32_t
#include <dns_rectypes.hpp>
#include <map>
#include <string>
@ -23,6 +23,7 @@
#define LLARP_DNS_RECTYPE_MX 15
#define LLARP_DNS_RECTYPE_TXT 16
struct dnsc_answer_request;
struct dnsd_context;
// dnsc can work over any UDP socket

@ -1,7 +1,8 @@
#include <dns_dotlokilookup.hpp>
#include <dns/dotlokilookup.hpp>
#include <handlers/tun.hpp>
#include <logic.hpp>
#include <service/context.hpp>
#include <util/logic.hpp>
std::string const default_chars =
"abcdefghijklmnaoqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";

@ -1,5 +1,5 @@
#ifndef LIBLLARP_DNS_DOTLOKILOOKUP_HPP
#define LIBLLARP_DNS_DOTLOKILOOKUP_HPP
#ifndef LLARP_DNS_DOTLOKILOOKUP_HPP
#define LLARP_DNS_DOTLOKILOOKUP_HPP
#include <dnsd.hpp>
#include <service/address.hpp>

@ -1,4 +1,4 @@
#include <dns_iptracker.hpp>
#include <dns/iptracker.hpp>
dns_iptracker g_dns_iptracker;

@ -1,7 +1,7 @@
#ifndef LIBLLARP_DNSIPTRACKER_HPP
#define LIBLLARP_DNSIPTRACKER_HPP
#ifndef LLARP_DNSIPTRACKER_HPP
#define LLARP_DNSIPTRACKER_HPP
#include <dns_dotlokilookup.hpp>
#include <dns/dotlokilookup.hpp>
#include <net.hpp>
#include <service/address.hpp>

@ -1,5 +1,5 @@
#include <dns.hpp> // for vput16bits()
#include <dns_rectypes.hpp>
#include <dns/rectypes.hpp>
namespace llarp
{

@ -1,5 +1,5 @@
#ifndef LIBLLARP_DNS_REC_TYPES_HPP
#define LIBLLARP_DNS_REC_TYPES_HPP
#ifndef LLARP_DNS_REC_TYPES_HPP
#define LLARP_DNS_REC_TYPES_HPP
#include <net.hpp> // for llarp::Addr , llarp::huint32_t
#include <util/buffer.h> // for byte_t

@ -2,7 +2,7 @@
#define LLARP_DNS_SERVER_HPP
#include <dns/message.hpp>
#include <ev.h>
#include <ev/ev.h>
#include <net.hpp>
#include <util/string_view.hpp>

@ -1,8 +1,8 @@
#ifndef LIBLLARP_DNSC_HPP
#define LIBLLARP_DNSC_HPP
#ifndef LLARP_DNSC_HPP
#define LLARP_DNSC_HPP
#include <ev.h> // for sockaadr
#include <dns.hpp> // get protocol structs
#include <ev/ev.h> // for sockaadr
// internal, non-public functions
// well dnsc init/stop are public...

@ -1,9 +1,9 @@
#ifndef LIBLLARP_DNSD_HPP
#define LIBLLARP_DNSD_HPP
#ifndef LLARP_DNSD_HPP
#define LLARP_DNSD_HPP
#include <ev.h> // for sockaadr
#include <dns.hpp> // question and dnsc
#include <dnsc.hpp>
#include <ev/ev.h> // for sockaadr
#include <string>

@ -1,5 +1,5 @@
#include <ev.h>
#include <logic.hpp>
#include <ev/ev.h>
#include <util/logic.hpp>
#include <util/mem.hpp>
#include <util/string_view.hpp>
@ -7,12 +7,12 @@
// apparently current Solaris will emulate epoll.
#if __linux__ || __sun__
#include "ev_epoll.hpp"
#include <ev/ev_epoll.hpp>
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) \
|| (__APPLE__ && __MACH__)
#include "ev_kqueue.hpp"
#include <ev/ev_kqueue.hpp>
#elif defined(_WIN32) || defined(_WIN64) || defined(__NT__)
#include "ev_win32.hpp"
#include <ev/ev_win32.hpp>
#else
#error No async event loop for your platform, subclass llarp_ev_loop
#endif

@ -1,7 +1,7 @@
#ifndef LLARP_EV_HPP
#define LLARP_EV_HPP
#include <ev.h>
#include <ev/ev.h>
#include <codel.hpp>
#include <util/buffer.h>
#include <util/threading.hpp>

@ -0,0 +1 @@
#include <ev/ev_epoll.hpp>

@ -1,7 +1,7 @@
#ifndef EV_EPOLL_HPP
#define EV_EPOLL_HPP
#include <ev.hpp>
#include <ev/ev.hpp>
#include <net.h>
#include <net.hpp>
#include <util/buffer.h>

@ -0,0 +1 @@
#include <ev/ev_kqueue.hpp>

@ -1,7 +1,7 @@
#ifndef EV_KQUEUE_HPP
#define EV_KQUEUE_HPP
#include <ev.hpp>
#include <ev/ev.hpp>
#include <net.h>
#include <net.hpp>
#include <util/buffer.h>

@ -0,0 +1 @@
#include <ev/ev_win32.hpp>

@ -2,8 +2,8 @@
#define EV_WIN32_HPP
#include <buffer.h>
#include <ev.hpp>
#include <logger.hpp>
#include <ev/ev.hpp>
#include <util/logger.hpp>
#include <net.h>
#include <net.hpp>
#include <windows.h>

@ -1 +0,0 @@
#include <ev_kqueue.hpp>

@ -1 +0,0 @@
#include <ev_win32.hpp>

@ -3,7 +3,7 @@
#include <crypto.hpp>
#include <ip.hpp>
#include <path.hpp>
#include <path/path.hpp>
#include <util/time.hpp>
namespace llarp

@ -1,5 +1,5 @@
#include <exit/session.hpp>
#include <path.hpp>
#include <path/path.hpp>
#include <router.hpp>
namespace llarp

@ -4,7 +4,7 @@
#include <ip.hpp>
#include <messages/exit.hpp>
#include <messages/transfer_traffic.hpp>
#include <pathbuilder.hpp>
#include <path/pathbuilder.hpp>
#include <deque>
#include <queue>

@ -8,9 +8,9 @@
#include <netdb.h>
#endif
#include <ev.hpp>
#include <router.hpp>
#include <dns/dns.hpp>
#include <ev/ev.hpp>
#include <router.hpp>
namespace llarp
{

@ -3,7 +3,7 @@
#include <codel.hpp>
#include <dns/server.hpp>
#include <ev.h>
#include <ev/ev.h>
#include <ip.hpp>
#include <net.hpp>
#include <service/endpoint.hpp>

@ -1 +0,0 @@
#include <ini.hpp>

@ -1,7 +1,7 @@
#ifndef LLARP_IP_HPP
#define LLARP_IP_HPP
#include <ev.h>
#include <ev/ev.h>
#include <net.hpp>
#include <util/buffer.h>
#include <util/time.hpp>

@ -2,11 +2,11 @@
#define LLARP_LINK_SERVER_HPP
#include <crypto.hpp>
#include <ev.h>
#include <ev/ev.h>
#include <link/session.hpp>
#include <logic.hpp>
#include <net.hpp>
#include <router_contact.hpp>
#include <util/logic.hpp>
#include <util/threading.hpp>
#include <list>
@ -188,7 +188,7 @@ namespace llarp
/// called by link session to remove a pending session who is timed out
void
RemovePending(ILinkSession * s);
RemovePending(ILinkSession* s);
private:
static void

@ -1,5 +1,5 @@
#include <link_message_parser.hpp>
#include <messages.hpp>
#include <router_contact.hpp>
#include <util/buffer.hpp>
#include <util/logger.hpp>

@ -1,7 +1,12 @@
#ifndef LLARP_LINK_MESSAGE_PARSER_HPP
#define LLARP_LINK_MESSAGE_PARSER_HPP
#include <link_message.hpp>
#include <messages.hpp>
#include <messages/discard.hpp>
#include <messages/dht_immediate.hpp>
#include <messages/link_intro.hpp>
#include <messages/relay.hpp>
#include <messages/relay_commit.hpp>
namespace llarp
{

@ -1 +0,0 @@
#include <messages.hpp>

@ -1,17 +0,0 @@
#ifndef LLARP_MESSAGES_HPP
#define LLARP_MESSAGES_HPP
/**
include shortcut for all link and routing messages
*/
#include <messages/dht_immediate.hpp>
#include <messages/discard.hpp>
#include <messages/exit.hpp>
#include <messages/link_intro.hpp>
#include <messages/path_confirm.hpp>
#include <messages/relay.hpp>
#include <messages/relay_commit.hpp>
#include <messages/transfer_traffic.hpp>
#endif

@ -4,7 +4,7 @@
#include <crypto.hpp>
#include <encrypted.hpp>
#include <link_message.hpp>
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <vector>

@ -5,7 +5,7 @@
#include <encrypted_ack.hpp>
#include <encrypted_frame.hpp>
#include <link_message.hpp>
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <pow.hpp>
#include <array>

@ -1,12 +1,12 @@
#include <nodedb.hpp>
#include <crypto.hpp>
#include <logic.hpp>
#include <router_contact.hpp>
#include <util/buffer.hpp>
#include <util/encode.hpp>
#include <util/fs.hpp>
#include <util/logger.hpp>
#include <util/logic.hpp>
#include <util/mem.hpp>
#include <fstream>

@ -1,9 +1,9 @@
#include <path.hpp>
#include <path/path.hpp>
#include <encrypted_frame.hpp>
#include <messages/dht.hpp>
#include <messages/discard.hpp>
#include <pathbuilder.hpp>
#include <path/pathbuilder.hpp>
#include <router.hpp>
#include <util/buffer.hpp>
#include <util/endian.hpp>

@ -4,9 +4,9 @@
#include <crypto.hpp>
#include <messages/relay_commit.hpp>
#include <messages/relay.hpp>
#include <path_types.hpp>
#include <pathbuilder.hpp>
#include <pathset.hpp>
#include <path/path_types.hpp>
#include <path/pathbuilder.hpp>
#include <path/pathset.hpp>
#include <router_id.hpp>
#include <routing/handler.hpp>
#include <routing/message.hpp>

@ -0,0 +1 @@
#include <path/path_types.hpp>

@ -1,7 +1,7 @@
#include <pathbuilder.hpp>
#include <path/pathbuilder.hpp>
#include <nodedb.hpp>
#include <path.hpp>
#include <path/path.hpp>
#include <router.hpp>
#include <util/buffer.hpp>

@ -1,7 +1,7 @@
#ifndef LLARP_PATHBUILDER_HPP_
#define LLARP_PATHBUILDER_HPP_
#include <pathset.hpp>
#include <path/pathset.hpp>
#include <atomic>
namespace llarp

@ -1,7 +1,8 @@
#include <path/pathset.hpp>
#include <dht/messages/pubintro.hpp>
#include <messages/dht.hpp>
#include <path.hpp>
#include <pathset.hpp>
#include <path/path.hpp>
namespace llarp
{

@ -2,7 +2,7 @@
#define LLARP_PATHSET_HPP
#include <dht/messages/all.hpp>
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <router_id.hpp>
#include <routing/message.hpp>
#include <service/IntroSet.hpp>

@ -1 +0,0 @@
#include <path_types.hpp>

@ -1,7 +1,7 @@
#ifndef LLARP_PROFILING_HPP
#define LLARP_PROFILING_HPP
#include <path.hpp>
#include <path/path.hpp>
#include <router_id.hpp>
#include <util/bencode.hpp>
#include <util/threading.hpp>

@ -1,6 +1,6 @@
#include <messages/path_confirm.hpp>
#include <messages/relay_commit.hpp>
#include <path.hpp>
#include <path/path.hpp>
#include <router.hpp>
#include <util/bencode.hpp>
#include <util/buffer.hpp>

@ -5,14 +5,13 @@
#include <crypto.hpp>
#include <dht.h>
#include <establish_job.hpp>
#include <ev.h>
#include <ev/ev.h>
#include <exit/context.hpp>
#include <handlers/tun.hpp>
#include <link_layer.hpp>
#include <link_message_parser.hpp>
#include <logic.hpp>
#include <nodedb.hpp>
#include <path.hpp>
#include <path/path.hpp>
#include <profiling.hpp>
#include <router_contact.hpp>
#include <routing/handler.hpp>
@ -21,6 +20,7 @@
#include <service/context.hpp>
#include <util/buffer.h>
#include <util/fs.hpp>
#include <util/logic.hpp>
#include <util/mem.hpp>
#include <util/str.hpp>
#include <util/threadpool.hpp>

@ -1,7 +1,7 @@
#ifndef LLARP_ROUTING_MESSAGE_HPP
#define LLARP_ROUTING_MESSAGE_HPP
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <util/bencode.hpp>
#include <util/buffer.h>

@ -6,7 +6,7 @@
#include <messages/path_confirm.hpp>
#include <messages/path_latency.hpp>
#include <messages/path_transfer.hpp>
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <util/bencode.hpp>
#include <util/buffer.h>

@ -2,7 +2,7 @@
#define LLARP_RPC_HPP
#include <crypto.hpp>
#include <ev.h>
#include <ev/ev.h>
#include <util/time.hpp>
#include <string>

@ -2,7 +2,7 @@
#define LLARP_SERVICE_INTRO_HPP
#include <crypto.hpp>
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <util/bencode.hpp>
#include <iostream>

@ -1,6 +1,6 @@
#include <service/IntroSet.hpp>
#include <path.hpp>
#include <path/path.hpp>
namespace llarp
{

@ -1,6 +1,6 @@
#include <service/config.hpp>
#include <ini.hpp>
#include <util/ini.hpp>
namespace llarp
{

@ -1,10 +1,10 @@
#include <service/endpoint.hpp>
#include <dht/messages/findintro.hpp>
#include <logic.hpp>
#include <messages/dht.hpp>
#include <router.hpp>
#include <service/protocol.hpp>
#include <util/logic.hpp>
#include <util/buffer.hpp>

@ -2,11 +2,11 @@
#define LLARP_SERVICE_ENDPOINT_HPP
#include <codel.hpp>
#include <ev.h>
#include <ev/ev.h>
#include <exit/session.hpp>
#include <net.hpp>
#include <path.hpp>
#include <pathbuilder.hpp>
#include <path/path.hpp>
#include <path/pathbuilder.hpp>
#include <service/address.hpp>
#include <service/Identity.hpp>
#include <service/handler.hpp>

@ -2,7 +2,7 @@
#define LLARP_SERVICE_HANDLER_HPP
#include <crypto.hpp>
#include <path_types.hpp>
#include <path/path_types.hpp>
#include <service/IntroSet.hpp>
#include <util/aligned.hpp>

@ -1,6 +1,7 @@
#include <path.hpp>
#include <service/endpoint.hpp>
#include <service/lookup.hpp>
#include <path/path.hpp>
#include <service/endpoint.hpp>
#include <util/time.hpp>
namespace llarp

@ -1,8 +1,8 @@
#include <service/protocol.hpp>
#include <logic.hpp>
#include <routing/handler.hpp>
#include <util/buffer.hpp>
#include <util/logic.hpp>
#include <util/mem.hpp>
namespace llarp

@ -1,4 +1,4 @@
#include <path.hpp>
#include <path/path.hpp>
#include <dht/context.hpp>
#include <messages/discard.hpp>

@ -0,0 +1 @@
#include <util/ini.hpp>

@ -1,4 +1,4 @@
#include <logic.hpp>
#include <util/logic.hpp>
#include <util/logger.hpp>
#include <util/mem.h>

@ -1,8 +1,8 @@
#include <link/utp.hpp>
#include <link/iwp.hpp>
#include <ev/ev.h>
#include <messages/link_intro.hpp>
#include <messages/discard.hpp>
#include <ev.h>
#include <gtest/gtest.h>

@ -1,7 +1,7 @@
#include <gtest/gtest.h>
#include <crypto.hpp>
#include <path.hpp>
#include <path/path.hpp>
#include <service/address.hpp>
#include <service/Identity.hpp>
#include <service/IntroSet.hpp>

@ -2,9 +2,9 @@
#include <dns.hpp>
#include <dnsc.hpp>
#include <llarp.h> // for llarp_main_init
#include <logic.hpp> // for threadpool/llarp::Logic
#include <net.hpp> // for llarp::Addr
#include <llarp.h> // for llarp_main_init
#include <net.hpp> // for llarp::Addr
#include <util/logic.hpp> // for threadpool/llarp::Logic
struct DNSTest : public ::testing::Test
{

@ -2,9 +2,9 @@
#include <dnsd.hpp>
#include <llarp.h> // for llarp_main_init
#include <logic.hpp> // for threadpool/llarp::Logic
#include <net.hpp> // for llarp::Addr
#include <llarp.h> // for llarp_main_init
#include <net.hpp> // for llarp::Addr
#include <util/logic.hpp> // for threadpool/llarp::Logic
unsigned int g_length = 0;
std::string g_result = "";

Loading…
Cancel
Save