From 8eb87135e4770f60c54d30cb51892b0314c4acba Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 27 Jan 2010 12:17:26 -0800 Subject: [PATCH] (SIGAR-199) arp_list win32 impl --- src/os/win32/sigar_os.h | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 src/os/win32/sigar_os.h diff --git a/src/os/win32/sigar_os.h b/src/os/win32/sigar_os.h old mode 100644 new mode 100755 index fd060e39..fc7edd69 --- a/src/os/win32/sigar_os.h +++ b/src/os/win32/sigar_os.h @@ -410,6 +410,10 @@ typedef BOOL (CALLBACK *advapi_query_service_status)(SC_HANDLE, DWORD, LPDWORD); +typedef DWORD (CALLBACK *iphlpapi_get_ipnet_table)(PMIB_IPNETTABLE, + PDWORD, + BOOL); + /* ntdll.dll */ typedef DWORD (CALLBACK *ntdll_query_sys_info)(DWORD, PVOID, @@ -485,6 +489,7 @@ typedef struct { SIGAR_DLLFUNC(iphlpapi, get_net_params); SIGAR_DLLFUNC(iphlpapi, get_adapters_info); SIGAR_DLLFUNC(iphlpapi, get_adapters_addrs); + SIGAR_DLLFUNC(iphlpapi, get_ipnet_table); sigar_dll_func_t end; } sigar_iphlpapi_t;