2018-08-10 21:34:11 +00:00
|
|
|
#ifndef LLARP_IWP_HPP
|
|
|
|
#define LLARP_IWP_HPP
|
2018-04-05 14:23:14 +00:00
|
|
|
#include <llarp/crypto.h>
|
2018-08-10 21:34:11 +00:00
|
|
|
#include <string>
|
2018-04-04 13:54:37 +00:00
|
|
|
|
2018-12-10 16:26:46 +00:00
|
|
|
namespace llarp {
|
|
|
|
class Logic;
|
|
|
|
struct Router;
|
|
|
|
}
|
|
|
|
|
2018-05-22 15:54:19 +00:00
|
|
|
struct llarp_iwp_args
|
|
|
|
{
|
2018-12-11 00:53:11 +00:00
|
|
|
struct llarp::Crypto* crypto;
|
2018-12-10 14:14:55 +00:00
|
|
|
llarp::Logic* logic;
|
2018-05-22 15:54:19 +00:00
|
|
|
struct llarp_threadpool* cryptoworker;
|
2018-12-10 16:26:46 +00:00
|
|
|
struct llarp::Router* router;
|
2018-09-02 18:25:42 +00:00
|
|
|
bool permitInbound;
|
2018-04-05 14:43:16 +00:00
|
|
|
};
|
2018-04-05 14:23:14 +00:00
|
|
|
|
2018-04-04 13:54:37 +00:00
|
|
|
#endif
|