silence some warnings.
authorGed Murphy <gedmurphy@reactos.org>
Thu, 24 Nov 2005 23:07:36 +0000 (23:07 +0000)
committerGed Murphy <gedmurphy@reactos.org>
Thu, 24 Nov 2005 23:07:36 +0000 (23:07 +0000)
svn path=/trunk/; revision=19537

reactos/lib/iphlpapi/ifenum.h
reactos/lib/iphlpapi/iphlpapi_main.c

index e37d445..79342ac 100644 (file)
@@ -139,6 +139,11 @@ DWORD getInterfaceEntryByIndex(DWORD index, PMIB_IFROW entry);
  */
 char *toIPAddressString(unsigned int addr, char string[16]);
 
+/* add and delete IP addresses */
+NTSTATUS addIPAddress( IPAddr Address, IPMask Mask, DWORD IfIndex, 
+                       PULONG NteContext, PULONG NteInstance );
+NTSTATUS deleteIpAddress( ULONG NteContext );
+
 /* Inserts a route into the route table. */
 DWORD createIpForwardEntryOS(PMIB_IPFORWARDROW pRoute);
 
index 7c6a20f..c0a2bfe 100644 (file)
@@ -613,6 +613,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
                 winsEnabled = TRUE;
               RegCloseKey(hKey);
             }
+
             for (ndx = 0; ndx < table->numIndexes; ndx++) {
               PIP_ADAPTER_INFO ptr = &pAdapterInfo[ndx];
               DWORD addrLen = sizeof(ptr->Address), type;