mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-02 03:40:12 +00:00
24 lines
449 B
C
24 lines
449 B
C
#ifndef LLARP_IWP_H_
|
|
#define LLARP_IWP_H_
|
|
#include <llarp/crypto.h>
|
|
#include <llarp/link.h>
|
|
#include <llarp/msg_handler.h>
|
|
#include <llarp/router_identity.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct iwp_configure_args {
|
|
struct llarp_crypto* crypto;
|
|
const char * keyfile;
|
|
};
|
|
|
|
bool iwp_link_init(struct llarp_link* link, struct iwp_configure_args args,
|
|
struct llarp_msg_muxer* muxer);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|