ReactOS 0.4.16-dev-91-g764881a
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | DnsCacheLock() do { EnterCriticalSection(&DnsCache.Lock); } while (0) |
#define | DnsCacheUnlock() do { LeaveCriticalSection(&DnsCache.Lock); } while (0) |
Functions | |
VOID | DnsIntCacheInitialize (VOID) |
VOID | DnsIntCacheFree (VOID) |
VOID | DnsIntCacheRemoveEntryItem (PRESOLVER_CACHE_ENTRY CacheEntry) |
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) |
BOOL | DnsIntCacheRemoveEntryByName (LPCWSTR Name) |
VOID | DnsIntCacheAddEntry (_In_ PDNS_RECORDW Record, _In_ BOOL bHostsFileEntry) |
DNS_STATUS | DnsIntCacheGetEntries (_Out_ DNS_CACHE_ENTRY **ppCacheEntries) |
Variables | |
static RESOLVER_CACHE | DnsCache |
static BOOL | DnsCacheInitialized = FALSE |
#define DnsCacheLock | ( | ) | do { EnterCriticalSection(&DnsCache.Lock); } while (0) |
#define DnsCacheUnlock | ( | ) | do { LeaveCriticalSection(&DnsCache.Lock); } while (0) |
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().
Definition at line 195 of file cache.c.
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().
|
static |
Definition at line 14 of file cache.c.
Referenced by DnsGetCacheDataTable(), DnsIntCacheAddEntry(), DnsIntCacheFlush(), DnsIntCacheFree(), DnsIntCacheGetEntries(), DnsIntCacheGetEntryByName(), DnsIntCacheInitialize(), DnsIntCacheRemoveEntryByName(), and DnsIntFlushCacheEntry().
Definition at line 15 of file cache.c.
Referenced by DnsIntCacheFree(), and DnsIntCacheInitialize().