#include #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);