blob: ff8e444cc6868ded3eb84bf23bdefb6cf8f5c7b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <stdio.h>
#define LOG_DEBUG 1
#define LOG_INFO 2
#define LOG_ERR 3
#define LOG_LEVEL LOG_DEBUG
#define LOG(l, ...) (l >= LOG_LEVEL ? fprintf(stderr, __VA_ARGS__) : 0 )
typedef struct SRVConfig {
ECPDHKey key_perma;
uint16_t capabilities;
} SRVConfig;
SRVConfig *srv_get_config(void);
|