(SIGAR-199) arp_list win32 impl

This commit is contained in:
Doug MacEachern 2010-01-27 12:17:26 -08:00
parent 5da26ff5e4
commit 8eb87135e4
1 changed files with 5 additions and 0 deletions

5
src/os/win32/sigar_os.h Normal file → Executable file
View File

@ -410,6 +410,10 @@ typedef BOOL (CALLBACK *advapi_query_service_status)(SC_HANDLE,
DWORD, DWORD,
LPDWORD); LPDWORD);
typedef DWORD (CALLBACK *iphlpapi_get_ipnet_table)(PMIB_IPNETTABLE,
PDWORD,
BOOL);
/* ntdll.dll */ /* ntdll.dll */
typedef DWORD (CALLBACK *ntdll_query_sys_info)(DWORD, typedef DWORD (CALLBACK *ntdll_query_sys_info)(DWORD,
PVOID, PVOID,
@ -485,6 +489,7 @@ typedef struct {
SIGAR_DLLFUNC(iphlpapi, get_net_params); SIGAR_DLLFUNC(iphlpapi, get_net_params);
SIGAR_DLLFUNC(iphlpapi, get_adapters_info); SIGAR_DLLFUNC(iphlpapi, get_adapters_info);
SIGAR_DLLFUNC(iphlpapi, get_adapters_addrs); SIGAR_DLLFUNC(iphlpapi, get_adapters_addrs);
SIGAR_DLLFUNC(iphlpapi, get_ipnet_table);
sigar_dll_func_t end; sigar_dll_func_t end;
} sigar_iphlpapi_t; } sigar_iphlpapi_t;