mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 07:02:38 +00:00
[DNSAPI][DNSRSLVR] Parse the hosts file when the resolver is initializing
- Move the hosts file handling from dnsapi.dll to the resolver service. Now, the hosts file is no longer parsed on each query. - Add support for DNS_QUERY_WIRE_ONLY and DNS_QUERY_NO_WIRE_QUERY flags to R_ResolverQuery. - GetCurrentTimeInSeconds() should return DWORD instead of DNS_STATUS.
This commit is contained in:
parent
d4a0549eb6
commit
630f34a0d0
9 changed files with 484 additions and 263 deletions
|
@ -10,6 +10,9 @@
|
|||
cpp_quote("#ifndef _WINDNS_INCLUDED_")
|
||||
#include <windns.h>
|
||||
cpp_quote("#endif")
|
||||
cpp_quote("#ifndef _WINDNS_UNDOC_H_")
|
||||
#include <windns_undoc.h>
|
||||
cpp_quote("#endif")
|
||||
|
||||
typedef [handle, string] LPWSTR DNSRSLVR_HANDLE;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ WINAPI
|
|||
DnsGetCacheDataTable(
|
||||
_Out_ PDNS_CACHE_ENTRY *DnsCache);
|
||||
|
||||
DNS_STATUS
|
||||
DWORD
|
||||
WINAPI
|
||||
GetCurrentTimeInSeconds(VOID);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue