lokinet/include/llarp/iwp.h

27 lines
460 B
C
Raw Normal View History

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>
#include <llarp/router_identity.h>
#ifdef __cplusplus
extern "C" {
#endif
struct llarp_iwp_args
{
2018-04-05 14:43:16 +00:00
struct llarp_crypto* crypto;
struct llarp_logic* logic;
struct llarp_threadpool* cryptoworker;
struct llarp_router* router;
const char* keyfile;
2018-04-05 14:43:16 +00:00
};
2018-04-05 14:23:14 +00:00
void
iwp_link_init(struct llarp_link* link, struct llarp_iwp_args args);
2018-04-04 13:54:37 +00:00
#ifdef __cplusplus
}
#endif
#endif