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.
lokinet/include/llarp/iwp.h

26 lines
506 B
C

7 years ago
#ifndef LLARP_IWP_H_
#define LLARP_IWP_H_
7 years ago
#include <llarp/crypto.h>
7 years ago
#include <llarp/link.h>
#include <llarp/msg_handler.h>
#include <llarp/router_identity.h>
#ifdef __cplusplus
extern "C" {
#endif
7 years ago
struct iwp_configure_args {
6 years ago
struct llarp_alloc * mem;
struct llarp_ev_loop * ev;
7 years ago
struct llarp_crypto* crypto;
6 years ago
const char * keyfile;
7 years ago
};
7 years ago
6 years ago
void iwp_link_init(struct llarp_link* link, struct iwp_configure_args args,
7 years ago
struct llarp_msg_muxer* muxer);
7 years ago
#ifdef __cplusplus
}
#endif
#endif