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.
20 lines
319 B
C
20 lines
319 B
C
6 years ago
|
#ifndef LLARP_DTLS_H_
|
||
|
#define LLARP_DTLS_H_
|
||
|
|
||
|
#include <llarp/link.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
struct llarp_dtls_args {
|
||
|
char key_file[255];
|
||
|
char cert_file[255];
|
||
|
};
|
||
|
|
||
|
bool dtls_link_init(struct llarp_link* link, struct llarp_dtls_args args,
|
||
|
struct llarp_msg_muxer* muxer);
|
||
|
|
||
|
|
||
|
#endif
|