blob: 4f04459938454ed191906adf80298e4080cec17f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef CONFIG_H
#define CONFIG_H
#include "str/str.h"
#include "log/log.h"
typedef struct config {
int port;
int secure : 1;
int ipv4 : 1;
int ipv6 : 1;
int workers;
str root;
} config;
config read_config(str cfg);
#endif
|