2019-01-19 16:13:58 +08:00
|
|
|
#ifndef CONF_H
|
|
|
|
#define CONF_H
|
|
|
|
|
|
|
|
#include "iniparser.h"
|
|
|
|
#include "cproxy.h"
|
2019-04-21 10:41:28 +08:00
|
|
|
#include <unistd.h>
|
2019-06-20 09:39:31 +08:00
|
|
|
|
2019-02-19 17:29:58 +08:00
|
|
|
char *strncpy_(char *dest, const char *src, size_t n);
|
2019-02-16 17:28:47 +08:00
|
|
|
void read_conf(char *file, conf *p);
|
|
|
|
void free_conf(conf *p);
|
2019-01-19 16:13:58 +08:00
|
|
|
|
|
|
|
#endif
|
2019-02-07 17:26:48 +08:00
|
|
|
|