mirror of https://github.com/dnomd343/ClearDNS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
537 B
25 lines
537 B
#ifndef _OVERTURE_H_
|
|
#define _OVERTURE_H_
|
|
|
|
#include "process.h"
|
|
#include "common.h"
|
|
|
|
typedef struct {
|
|
uint16_t port;
|
|
uint8_t debug; // bool value
|
|
uint32_t timeout;
|
|
char *ttl_file;
|
|
char *host_file;
|
|
uint16_t foreign_port;
|
|
uint16_t domestic_port;
|
|
uint32_t **reject_type;
|
|
char *foreign_ip_file;
|
|
char *domestic_ip_file;
|
|
char *foreign_domain_file;
|
|
char *domestic_domain_file;
|
|
} overture;
|
|
|
|
overture* overture_init(uint16_t port);
|
|
process* overture_load(overture *info, const char *file);
|
|
|
|
#endif
|
|
|