2018-04-04 13:54:37 +00:00
|
|
|
#ifndef LLARP_IWP_H_
|
|
|
|
#define LLARP_IWP_H_
|
2018-04-05 14:23:14 +00:00
|
|
|
#include <llarp/crypto.h>
|
2018-04-04 13:54:37 +00:00
|
|
|
#include <llarp/link.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-05-22 15:54:19 +00:00
|
|
|
struct llarp_iwp_args
|
|
|
|
{
|
2018-04-05 14:43:16 +00:00
|
|
|
struct llarp_crypto* crypto;
|
2018-05-22 15:54:19 +00:00
|
|
|
struct llarp_logic* logic;
|
|
|
|
struct llarp_threadpool* cryptoworker;
|
2018-05-25 17:52:10 +00:00
|
|
|
struct llarp_router* router;
|
2018-05-22 15:54:19 +00:00
|
|
|
const char* keyfile;
|
2018-04-05 14:43:16 +00:00
|
|
|
};
|
2018-04-05 14:23:14 +00:00
|
|
|
|
2018-05-22 15:54:19 +00:00
|
|
|
void
|
2018-05-25 17:52:10 +00:00
|
|
|
iwp_link_init(struct llarp_link* link, struct llarp_iwp_args args);
|
2018-04-04 13:54:37 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|