ReactOS 0.4.16-dev-106-g10b08aa
|
#include <stdarg.h>
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <winnls.h>
#include <winreg.h>
#include <winsvc.h>
#include <windns.h>
#include <windns_undoc.h>
#include <ndk/rtlfuncs.h>
#include <ndk/obfuncs.h>
#include <dnsrslvr_s.h>
#include <strsafe.h>
Go to the source code of this file.
Classes | |
struct | _RESOLVER_CACHE_ENTRY |
struct | _RESOLVER_CACHE |
Macros | |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
#define | COM_NO_WINDOWS_H |
#define | NTOS_MODE_USER |
#define | CACHE_FLUSH_HOSTS_FILE_ENTRIES 0x00000001 |
#define | CACHE_FLUSH_NON_HOSTS_FILE_ENTRIES 0x00000002 |
#define | CACHE_FLUSH_ALL 0x00000003 |
Typedefs | |
typedef struct _RESOLVER_CACHE_ENTRY | RESOLVER_CACHE_ENTRY |
typedef struct _RESOLVER_CACHE_ENTRY * | PRESOLVER_CACHE_ENTRY |
typedef struct _RESOLVER_CACHE | RESOLVER_CACHE |
typedef struct _RESOLVER_CACHE * | PRESOLVER_CACHE |
Functions | |
VOID | DnsIntCacheInitialize (VOID) |
VOID | DnsIntCacheRemoveEntryItem (PRESOLVER_CACHE_ENTRY CacheEntry) |
VOID | DnsIntCacheFree (VOID) |
DNS_STATUS | DnsIntCacheFlush (_In_ ULONG ulFlags) |
DNS_STATUS | DnsIntFlushCacheEntry (_In_ LPCWSTR pszName, _In_ WORD wType) |
DNS_STATUS | DnsIntCacheGetEntryByName (LPCWSTR Name, WORD wType, DWORD dwFlags, PDNS_RECORDW *Record) |
VOID | DnsIntCacheAddEntry (_In_ PDNS_RECORDW Record, _In_ BOOL bHostsFileEntry) |
BOOL | DnsIntCacheRemoveEntryByName (_In_ LPCWSTR Name) |
DNS_STATUS | DnsIntCacheGetEntries (_Out_ DNS_CACHE_ENTRY **ppCacheEntries) |
BOOL | ReadHostsFile (VOID) |
typedef struct _RESOLVER_CACHE * PRESOLVER_CACHE |
typedef struct _RESOLVER_CACHE_ENTRY * PRESOLVER_CACHE_ENTRY |
typedef struct _RESOLVER_CACHE RESOLVER_CACHE |
VOID DnsIntCacheAddEntry | ( | _In_ PDNS_RECORDW | Record, |
_In_ BOOL | bHostsFileEntry | ||
) |
Definition at line 233 of file cache.c.
Referenced by AddIpv4HostEntries(), AddIpv6HostEntries(), and R_ResolverQuery().
Definition at line 69 of file cache.c.
Referenced by DnsIntCacheFree(), and R_ResolverFlushCache().
Definition at line 36 of file cache.c.
Referenced by ServiceControlHandler(), and ServiceMain().
DNS_STATUS DnsIntCacheGetEntries | ( | _Out_ DNS_CACHE_ENTRY ** | ppCacheEntries | ) |
Definition at line 264 of file cache.c.
Referenced by CRrReadCache().
DNS_STATUS DnsIntCacheGetEntryByName | ( | LPCWSTR | Name, |
WORD | wType, | ||
DWORD | dwFlags, | ||
PDNS_RECORDW * | Record | ||
) |
Definition at line 150 of file cache.c.
Referenced by R_ResolverQuery().
Definition at line 21 of file cache.c.
Referenced by ServiceMain().
VOID DnsIntCacheRemoveEntryItem | ( | PRESOLVER_CACHE_ENTRY | CacheEntry | ) |
Definition at line 54 of file cache.c.
Referenced by DnsIntCacheFlush(), DnsIntCacheRemoveEntryByName(), and DnsIntFlushCacheEntry().
Definition at line 106 of file cache.c.
Referenced by R_ResolverFlushCacheEntry().
Definition at line 291 of file hostsfile.c.
Referenced by ServiceMain().