mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
425 B
C
26 lines
425 B
C
#ifndef LLARP_IWP_H_
|
|
#define LLARP_IWP_H_
|
|
#include <llarp/crypto.h>
|
|
#include <llarp/link.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
|