Files
shadowsocks-libev/src/jconf.h
T
2013-04-04 08:47:26 +08:00

21 lines
369 B
C

#ifndef _JCONF_H
#define _JCONF_H
#define MAX_REMOTE_NUM 10
#define MAX_CONF_SIZE 16 * 1024
#define DNS_THREAD_NUM 4
typedef struct {
int remote_num;
char *remote_host[MAX_REMOTE_NUM];
char *remote_port;
char *local_port;
char *password;
char *method;
char *timeout;
} jconf_t;
jconf_t *read_jconf(const char* file);
#endif // _JCONF_H