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.
19 lines
339 B
19 lines
339 B
#ifndef _ADGUARD_H_
|
|
#define _ADGUARD_H_
|
|
|
|
#include <stdint.h>
|
|
#include "process.h"
|
|
|
|
typedef struct {
|
|
uint8_t debug; // bool value
|
|
uint16_t dns_port;
|
|
uint16_t web_port;
|
|
char *upstream;
|
|
char *username;
|
|
char *password;
|
|
} adguard;
|
|
|
|
adguard* adguard_init();
|
|
process* adguard_load(adguard *info, const char *dir);
|
|
|
|
#endif
|
|
|