2019-09-04 13:43:15 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
2019-11-05 19:31:11 -05:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
2019-09-04 13:43:15 -04:00
|
|
|
|
2019-11-05 19:31:11 -05:00
|
|
|
struct dns_config {
|
|
|
|
bool enable;
|
|
|
|
wchar_t router[128];
|
|
|
|
wchar_t startup[128];
|
|
|
|
wchar_t billing[128];
|
|
|
|
wchar_t aimedb[128];
|
2024-03-13 17:51:58 +01:00
|
|
|
wchar_t title[128];
|
2024-11-11 16:24:33 +00:00
|
|
|
bool replaceHost;
|
2024-12-12 02:28:02 +08:00
|
|
|
unsigned short startupPort;
|
|
|
|
unsigned short billingPort;
|
|
|
|
unsigned short aimedbPort;
|
2019-11-05 19:31:11 -05:00
|
|
|
};
|
2019-09-04 13:43:15 -04:00
|
|
|
|
2019-11-05 19:31:11 -05:00
|
|
|
HRESULT dns_platform_hook_init(const struct dns_config *cfg);
|