mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
93f0e03958
currently only handling LIM
27 lines
460 B
C
27 lines
460 B
C
#ifndef LLARP_IWP_H_
|
|
#define LLARP_IWP_H_
|
|
#include <llarp/crypto.h>
|
|
#include <llarp/link.h>
|
|
#include <llarp/router_identity.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct llarp_iwp_args
|
|
{
|
|
struct llarp_crypto* crypto;
|
|
struct llarp_logic* logic;
|
|
struct llarp_threadpool* cryptoworker;
|
|
struct llarp_router* router;
|
|
const char* keyfile;
|
|
};
|
|
|
|
void
|
|
iwp_link_init(struct llarp_link* link, struct llarp_iwp_args args);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|