lokinet/include/llarp/dtls.h

26 lines
393 B
C
Raw Normal View History

2018-05-16 15:30:05 +00:00
#ifndef LLARP_DTLS_H_
#define LLARP_DTLS_H_
#include <llarp/link.h>
#include <llarp/mem.h>
2018-05-16 15:30:05 +00:00
#ifdef __cplusplus
extern "C" {
#endif
struct llarp_dtls_args
{
struct llarp_alloc* mem;
const char* keyfile;
const char* certfile;
2018-05-16 15:30:05 +00:00
};
void
dtls_link_init(struct llarp_link* link, struct llarp_dtls_args args,
struct llarp_msg_muxer* muxer);
2018-05-16 15:30:05 +00:00
2018-05-17 20:00:58 +00:00
#ifdef __cplusplus
}
#endif
2018-05-16 15:30:05 +00:00
#endif