Commit Graph

25 Commits

Author SHA1 Message Date
Ken Thomases 6b033cc1e6 iphlpapi: Fixed a problem with enumerating network interfaces.
Keep increasing the buffer until the returned length is more than two
records smaller than the buffer we provided.
2006-12-21 14:47:20 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Marcus Meissner 2c8aeb6db1 iphlpapi: NetBSD needs sys/param.h. 2006-10-24 11:31:07 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Vitaly Lipatov f382722390 iphplapi: Define IF_NAMESIZE if missing. 2006-02-24 21:13:54 +01:00
Juan Lang 540dca3259 iphlpapi: Reimplement interface enumeration.
Implement interface enumeration based on if_nameindex, based on a
suggestion by Michael Ost
2006-01-27 19:19:32 +01:00
Juan Lang 201cdcc462 iphlpapi: Remove one IP address per interface restriction.
- remove restriction of one IP address per interface
- remove dead code, and make static functions that can be
- update comments and copyright notice
2006-01-25 13:14:12 +01:00
Juan Lang 5cd6b34259 iphlpapi: Clean up memory allocation.
- pass heap to allocate from directly to helper functions, instead of
  unnecessarily copying returned data
- use public types rather than internal ones
- make sure GetBestRoute doesn't return bogus matches
2006-01-24 12:18:50 +01:00
Juan Lang 53e634bec6 iphlpapi: Remove redundant comments and fix typos. 2006-01-20 16:16:56 +01:00
Juan Lang 36ac9f8665 iphlpapi: Fix a couple of file descriptor leaks. 2005-12-13 11:11:53 +01:00
Robert Shearman 4fee52683b Fix size passed to lstrcpynA function - sizeof(string) == 4 not 16 as
needed.
2005-06-13 10:01:20 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Juan Lang 76d8779c6f - use Heap functions rather than libc for mem allocation
- document a bunch of functions
2004-12-13 13:21:39 +00:00
Hans Leidekker fe442b21f7 Fix signed/unsigned comparison warnings. 2004-09-08 01:23:57 +00:00
Robert Lunnon 761fce5261 Corrected code to acquire mtu under Solaris. 2004-01-14 05:31:23 +00:00
Juan Lang 50b7cf0433 - fixes thread safety issues
- fixes problems with non-IP (e.g. IPX) addresses
- updates comments to reflect winsock, netapi32 changes
2003-11-30 06:03:21 +00:00
Dmitry Timoshkov 2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Patrik Stridvall ba78aac406 Fixed some issues found by winapi_check. 2003-08-08 21:07:23 +00:00
Robert Lunnon 00c74e940d Fixed some compile problems under Solaris. 2003-07-09 21:55:09 +00:00
Alexandre Julliard b168f12a48 Fixed wrong length argument in getInterfacePhysicalByName. 2003-05-21 18:26:00 +00:00
Alexandre Julliard 18ae9b3da6 Fixed some string overflows. 2003-05-13 04:49:15 +00:00
Juan Lang 38fa5ad1bc Added an implementation of iphlpapi.dll; most Get* functions
introduced through Win98 are included.
2003-05-13 03:32:20 +00:00