Move handlers* to llarp/

pull/137/head
Michael 6 years ago
parent 0a08e53bde
commit 7a52638add
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -7,8 +7,8 @@
#include <llarp/version.hpp>
#ifdef __cplusplus
#include <handlers/tun.hpp> // for handlers
#include <llarp/service/address.hpp> // for service::address
#include <llarp/handlers/tun.hpp> // for handlers
#include <llarp/service/endpoint.hpp>
extern "C"

@ -1,10 +1,11 @@
#ifndef LLARP_SERVICE_CONTEXT_HPP
#define LLARP_SERVICE_CONTEXT_HPP
#include <handlers/tun.hpp>
#include <llarp/net.hpp>
#include <llarp/service/config.hpp>
#include <llarp/service/endpoint.hpp>
#include <unordered_map>
#include <llarp/handlers/tun.hpp>
namespace llarp
{

@ -1,5 +1,5 @@
#include <handlers/tun.hpp>
#include <llarp/dns_dotlokilookup.hpp>
#include <llarp/handlers/tun.hpp>
#include <llarp/service/context.hpp>
#include <llarp/logic.hpp>

@ -1,9 +1,10 @@
#ifndef LLARP_EXIT_CONTEXT_HPP
#define LLARP_EXIT_CONTEXT_HPP
#include <exit/policy.hpp>
#include <handlers/exit.hpp>
#include <string>
#include <unordered_map>
#include <llarp/handlers/exit.hpp>
namespace llarp
{

@ -1,6 +1,5 @@
#include <exit/endpoint.hpp>
#include <llarp/handlers/exit.hpp>
#include <handlers/exit.hpp>
#include <router.hpp>
namespace llarp

@ -1,7 +1,8 @@
#include <llarp/handlers/exit.hpp>
#include "../str.hpp"
#include "../router.hpp"
#include <handlers/exit.hpp>
#include <llarp/net.hpp>
#include <router.hpp>
#include <str.hpp>
#include <cassert>
namespace llarp

@ -2,7 +2,7 @@
#define LLARP_HANDLERS_EXIT_HPP
#include <exit/endpoint.hpp>
#include <llarp/handlers/tun.hpp>
#include <handlers/tun.hpp>
#include <unordered_map>

@ -1,14 +1,14 @@
#include <algorithm>
// harmless on other platforms
#define __USE_MINGW_ANSI_STDIO 1
#include <llarp/handlers/tun.hpp>
#include <handlers/tun.hpp>
#include <sys/types.h>
#ifndef _WIN32
#include <sys/socket.h>
#include <netdb.h>
#endif
#include "ev.hpp"
#include <ev.hpp>
#include <router.hpp>
namespace llarp

@ -1,14 +1,16 @@
#ifndef LLARP_ROUTER_HPP
#define LLARP_ROUTER_HPP
#include <llarp/buffer.h>
#include <llarp/config.h>
#include <crypto.hpp>
#include <dht.h>
#include <dht.hpp>
#include <exit.hpp>
#include <fs.hpp>
#include <handlers/tun.hpp>
#include <llarp/buffer.h>
#include <llarp/config.h>
#include <llarp/establish_job.hpp>
#include <llarp/ev.h>
#include <llarp/handlers/tun.hpp>
#include <llarp/link_layer.hpp>
#include <llarp/link_message.hpp>
#include <llarp/logic.hpp>
@ -19,6 +21,8 @@
#include <llarp/routing/handler.hpp>
#include <llarp/rpc.hpp>
#include <llarp/service.hpp>
#include <mem.hpp>
#include <str.hpp>
#include <threadpool.hpp>
#include <functional>
@ -27,11 +31,6 @@
#include <vector>
#include <unordered_map>
#include <crypto.hpp>
#include <fs.hpp>
#include <mem.hpp>
#include <str.hpp>
bool
llarp_findOrCreateEncryption(llarp::Crypto *crypto, const char *fpath,
llarp::SecretKey &encryption);

@ -1,5 +1,5 @@
#include <llarp/handlers/tun.hpp>
#include <llarp/handlers/null.hpp>
#include <handlers/tun.hpp>
#include <handlers/null.hpp>
#include <llarp/service/context.hpp>
#include <llarp/service/endpoint.hpp>

Loading…
Cancel
Save