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
422 B
25 lines
422 B
#ifndef LOADER_H_
|
|
#define LOADER_H_
|
|
|
|
#include "config.h"
|
|
#include "adguard.h"
|
|
#include "dnsproxy.h"
|
|
#include "overture.h"
|
|
#include "crontab.h"
|
|
#include "assets.h"
|
|
|
|
struct cleardns {
|
|
char **script;
|
|
dnsproxy *domestic;
|
|
dnsproxy *foreign;
|
|
overture *diverter;
|
|
adguard *filter;
|
|
crontab *crond;
|
|
asset **resource;
|
|
};
|
|
|
|
extern struct cleardns loader;
|
|
|
|
void load_config(const char *config_file);
|
|
|
|
#endif
|
|
|