Commit Graph

50 Commits

Author SHA1 Message Date
Alexandre Julliard 7fa73a79af inetmib1: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 09:01:57 +02:00
Michael Stefaniuc c9329d6898 inetmib1: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Alexandre Julliard d6976d7e00 inetmib1: Don't bother to free memory at process exit. 2013-05-15 10:20:16 +02:00
Francois Gouget 3fe2d6e5fd include: Update the nldef.h and *mib.h headers. 2011-12-15 10:49:17 +01:00
Frédéric Delanoy 699fb02d10 inetmib1: Avoid idempotent operation in findSupportedQuery function (Clang). 2011-10-14 20:26:42 +02:00
Gerald Pfeifer eb087ae860 inetmib1: Remove unused parameter pPduType from mapStructEntryToValue. 2011-05-25 17:53:48 +02:00
Juan Lang 960a1a9ab7 inetmib1: Copy an IP net row's physical address using a type-specific helper function, rather than using a generic helper function which made an invalid alignment assumption. 2009-12-09 12:19:09 +01:00
Juan Lang 950202a59b inetmib1: Return SNMP_ERRORSTATUS_NOSUCHNAME for an interface's description if it has none. 2009-12-09 12:19:02 +01:00
Juan Lang 91d62162da inetmib1: Return SNMP_ERRORSTATUS_NOSUCHNAME for an interface's physical address if it has none. 2009-12-08 12:35:55 +01:00
Juan Lang 632b759ffe inetmib1: Return error value from MIB copy functions. 2009-12-08 12:35:45 +01:00
Juan Lang 7060f8961a inetmib1: Don't claim a value is dynamic when it isn't. 2009-12-08 12:35:38 +01:00
Rob Shearman d0f93223b1 inetmib1: Fix off-by-one error in findNextOidInTable.
index is 1-based, so take that into account when calculating the
pointer to pass into the compare function.
2009-12-02 16:31:22 +01:00
Juan Lang 6a025c5a32 inetmib1: Rename a poorly named variable. 2009-05-18 14:31:06 +02:00
Juan Lang f95324c69e inetmib1: Don't query the same OID twice if it returns SNMP_ERRORSTATUS_NOSUCHNAME the first time. 2009-05-15 10:27:25 +02:00
Juan Lang 9b65338ef9 inetmib1: Make sure the successor to an item doesn't have an identical key as it, to prevent infinite loops in table enumeration. 2009-05-15 10:27:14 +02:00
Juan Lang 52722e6638 inetmib1: Fix memory leaks. 2009-05-13 12:02:13 +02:00
Juan Lang 782efb5702 inetmib1: Return errors from SnmpExtensionQuery. 2009-05-08 12:20:57 +02:00
Juan Lang 1c547cdc44 inetmib1: Return error codes from internal query functions. 2009-05-08 12:20:52 +02:00
Juan Lang a548d5a29f inetmib1: Check return values from SnmpUtilOid functions in utility functions. 2009-05-08 12:20:41 +02:00
Rico Schüller c62529a7ae inetmib1: Fix wrong arguments. 2008-08-05 14:09:37 +02:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Alexandre Julliard 5530977fdb inetmib1: Check for failure of the iphlpapi functions instead of blindly trusting them. 2008-07-22 19:48:45 +02:00
Juan Lang 4b45b24d9d inetmib1: Free memory when DLL is unloaded. 2008-06-30 12:37:46 +02:00
Juan Lang 3646816247 inetmib1: Don't prefer the native version, it doesn't do much anyway. 2008-06-30 12:37:42 +02:00
Juan Lang 8f66c13e35 inetmib1: Support the MIB2 UDP table. 2008-06-30 12:37:37 +02:00
Juan Lang cf3d35cf15 inetmib1: Make table searching function into a generic helper. 2008-06-30 12:37:32 +02:00
Juan Lang 9e919b8ae9 inetmib1: Sort the tables keyed by IP address, and use bsearch to find entries in them. 2008-06-25 23:31:05 +02:00
Juan Lang 677946941c inetmib1: Support the MIB2 UDP statistics. 2008-06-25 23:30:38 +02:00
Juan Lang 0fb70c6d8e inetmib1: Use a helper function to set the Oid with an item. 2008-06-25 23:30:26 +02:00
Juan Lang 81b0db2493 inetmib1: Use a helper function to set the Oid with an integer instance. 2008-06-25 23:30:22 +02:00
Juan Lang d3f0e8c9db inetmib1: Use a helper function to set the Oid with an IP address-based instance. 2008-06-25 23:30:19 +02:00
Juan Lang e5afadab3f inetmib1: Support the MIB2 IP net (ARP) table. 2008-06-25 23:29:56 +02:00
Juan Lang d3baf1dcda inetmib1: Support the MIB2 IP route table. 2008-06-25 23:29:49 +02:00
Juan Lang 74310cb0e3 inetmib1: Support the MIB2 TCP statistics. 2008-06-25 23:29:45 +02:00
Juan Lang 297190fde2 inetmib1: Use a helper function to get the item and instance of the MIB2 IP address table. 2008-06-25 23:29:33 +02:00
Juan Lang 969bc943ac inetmib1: Use a helper function to get the item from the Oid. 2008-06-25 23:29:22 +02:00
Juan Lang 3aa93652a4 inetmib1: Use a helper function to get the item and instance of the MIB2 interface table. 2008-06-25 23:29:09 +02:00
Juan Lang ea20d6b793 inetmib1: Support the MIB2 IP address table. 2008-06-25 11:03:06 +02:00
Juan Lang 7d85506a9d inetmib1: Support the MIB2 ICMP statistics. 2008-06-25 11:02:49 +02:00
Juan Lang b77719c7fb inetmib1: Support the MIB2 IP statistics. 2008-06-25 11:02:25 +02:00
Juan Lang c531c11734 inetmib1: Support the MIB2 interface table. 2008-06-25 11:00:39 +02:00
Juan Lang f913252ea2 inetmib1: Support querying the MIB2 number of interfaces. 2008-06-25 10:59:28 +02:00
Juan Lang dedff1329f inetmib1: Implement SnmpExtensionQuery. 2008-06-25 10:59:07 +02:00
Juan Lang f28cd51d0d inetmib1: Add initialization function for getting the MIB2 number of interfaces. 2008-06-25 10:58:52 +02:00
Juan Lang 709a0a46e2 inetmib1: Add a mechanism for initializing supported OIDs, and use it in SnmpExtensionInit. 2008-06-25 10:58:37 +02:00
Juan Lang 50f4bd16f6 inetmib1: Improve SnmpExtensionQuery stub. 2008-06-25 10:58:26 +02:00
Juan Lang 46f7f76b1e inetmib1: Improve SnmpExtensionInit stub. 2008-06-25 10:58:18 +02:00
Juan Lang f451fefc6c inetmib1: Add stub for SnmpExtensionQuery. 2008-06-25 10:56:33 +02:00
Juan Lang 2cc8b7e5ce inetmib1: Add stub for SnmpExtensionInit. 2008-06-25 10:53:18 +02:00
Juan Lang 1723157954 inetmib1: Add stub dll. 2008-06-25 10:53:02 +02:00