[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1772 - GNUnet/src/util/win
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1772 - GNUnet/src/util/win |
Date: |
Fri, 19 Aug 2005 22:58:40 -0700 (PDT) |
Author: grothoff
Date: 2005-08-19 22:58:39 -0700 (Fri, 19 Aug 2005)
New Revision: 1772
Modified:
GNUnet/src/util/win/win.cc
Log:
win32 ListNICs fix -- Nils please verify that it still works...
Modified: GNUnet/src/util/win/win.cc
===================================================================
--- GNUnet/src/util/win/win.cc 2005-08-20 05:57:10 UTC (rev 1771)
+++ GNUnet/src/util/win/win.cc 2005-08-20 05:58:39 UTC (rev 1772)
@@ -86,7 +86,7 @@
* Used by the basic GTK configurator
* @param callback
*/
-int ListNICs(void (*callback) (char *, int))
+ int ListNICs(void (*callback) (const char *, int, void *), void * cls)
{
PMIB_IFTABLE pTable;
PMIB_IPADDRTABLE pAddrTable;
@@ -181,7 +181,7 @@
if (pszIfName)
free(pszIfName);
- callback(szEntry, pAddrTable->table[dwIfIdx].dwIndex == dwExternalNIC);
+ callback(szEntry, pAddrTable->table[dwIfIdx].dwIndex == dwExternalNIC,
cls);
}
}
GlobalFree(pAddrTable);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1772 - GNUnet/src/util/win,
grothoff <=