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.
26 lines
537 B
26 lines
537 B
2 years ago
|
#ifndef _OVERTURE_H_
|
||
|
#define _OVERTURE_H_
|
||
|
|
||
2 years ago
|
#include "common.h"
|
||
2 years ago
|
#include "process.h"
|
||
2 years ago
|
|
||
2 years ago
|
typedef struct {
|
||
2 years ago
|
uint16_t port;
|
||
|
uint8_t debug; // bool value
|
||
|
uint32_t timeout;
|
||
2 years ago
|
char *ttl_file;
|
||
|
char *host_file;
|
||
2 years ago
|
uint16_t foreign_port;
|
||
|
uint16_t domestic_port;
|
||
|
uint32_t **reject_type;
|
||
2 years ago
|
char *foreign_ip_file;
|
||
|
char *domestic_ip_file;
|
||
|
char *foreign_domain_file;
|
||
|
char *domestic_domain_file;
|
||
|
} overture;
|
||
|
|
||
2 years ago
|
overture* overture_init(uint16_t port);
|
||
2 years ago
|
process* overture_load(overture *info, const char *file);
|
||
2 years ago
|
|
||
|
#endif
|