Commit Graph

62 Commits

Author SHA1 Message Date
Austin English ead0efbacd inetmib1/tests: Add missing broken(). 2011-02-28 13:11:58 +01:00
Austin English 6d66446baf inetmib1/tests: Remove a dead assignment (LLVM/Clang). 2011-02-17 17:30:13 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Michael Stefaniuc f788302470 inetmib1/tests: Fix duplicate expressions in if condition. 2010-03-26 15:35:50 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 5f8717d7f6 inetmib1/tests: Free memory after use (Valgrind). 2010-01-14 09:13:59 -06: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 f893387da8 inetmib1/tests: Trace the SNMP error code and index rather than GetLastError on failure. 2009-05-11 12:42:56 +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
Paul Vriens 5a892b8c49 inetmib1/tests: Add a FreeLibrary and turn some skip()s into win_skip()s. 2009-04-29 13:08:36 +02:00
Juan Lang 80a48578c6 inetmib1: Remove a test that's no longer true on Windows Vista. 2009-01-30 11:44:46 +01:00
Juan Lang 1627377d1b inetmib1: Fix remaining failure on Win9x/NT4. 2008-10-09 14:20:05 +02:00
Juan Lang 52e64b155e inetmib1: Fix some test failures on Win9x/NT4. 2008-10-09 14:20:01 +02:00
Paul Vriens 682890ae4d inetmib1/tests: Compare instead of assign. 2008-10-08 12:20:24 +02:00
Juan Lang e2a8da9e86 inetmib1: Skip tests if a portion of inetmib1 isn't implemented.
This fixes a hang (and sometimes a system hang) on MacOSX when running
the inetmib1 tests.  Spotted by Owen Rudge.
2008-09-29 17:24:00 -05: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 52fcae9909 inetmib1: Fix test failures on some systems. 2008-07-03 11:50:51 +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