Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Marcus Meissner
b970b22037
iphlpapi: Allocate space enough to handle all the possible ipv4 addresses.
2006-01-30 18:16:22 +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
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Markus Amsler
b213461575
Add, reformat API documentation.
2005-11-14 11:24:37 +00:00
Alexandre Julliard
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Mike McCormack
257c337c19
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-07 12:08:42 +00:00
Eric Pouech
809edabfbe
Const correctness fixes.
2005-06-27 09:53:46 +00:00
Alexandre Julliard
629352bdc4
Moved network configuration parameters to HKCU\Software\Wine\Network.
2005-06-14 17:22:41 +00:00
Alexandre Julliard
2e4bca9db5
Added magic comments to all Wine-specific registry accesses to make
...
them easier to grep.
2005-06-13 18:56:00 +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
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
Alexandre Julliard
d03300eca3
Define INADDR_NONE if needed (reported by Robert Lunnon).
2004-01-15 00:25:41 +00:00
Juan Lang
e6f491aa5c
Fixed the dwBCastAddr member of MIB_IPADDRROW, added a test program.
2004-01-07 01:08:55 +00:00
Juan Lang
cb759ba94e
Add tracing, add WINS configuration to GetAdaptersInfo, correct
...
ScopeID reading in GetFixedInfo.
2004-01-02 03:55:05 +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
Aric Stewart
84ad10bfcd
Switched a + to a - so that it makes sense when marking the last node
...
in the Adapters Info linked list.
2003-10-31 04:16:54 +00:00
Juan Lang
1155531cb3
- Fix buffer overrun in GetNetworkParams.
...
- Implement GetBest(Route,Interface).
- Implement some AllocateAndGet*FromStack functions.
2003-09-08 19:00:25 +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
Eric Pouech
9b5cde85a2
Fixed a few bugs in network interface handling (code & test).
2003-06-23 03:32:28 +00:00
Pierre d'Herbemont
30f84a33f1
Include arpa/nameser.h before resolv.h.
2003-05-19 21:41:00 +00:00
Gerald Pfeifer
9512ba5322
Add missing #includes for non-Linux systems.
2003-05-13 23:37:29 +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