mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
24 lines
401 B
C
24 lines
401 B
C
#ifndef LLARP_DTLS_H_
|
|
#define LLARP_DTLS_H_
|
|
|
|
#include <llarp/mem.h>
|
|
#include <llarp/link.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct llarp_dtls_args {
|
|
struct llarp_alloc * mem;
|
|
const char * keyfile;
|
|
const char * certfile;
|
|
};
|
|
|
|
void dtls_link_init(struct llarp_link* link, struct llarp_dtls_args args,
|
|
struct llarp_msg_muxer* muxer);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|