Commit Graph

59 Commits

Author SHA1 Message Date
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
Juan Lang 36ac9f8665 iphlpapi: Fix a couple of file descriptor leaks. 2005-12-13 11:11:53 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +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 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +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
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +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
Robert Shearman 4fee52683b Fix size passed to lstrcpynA function - sizeof(string) == 4 not 16 as
needed.
2005-06-13 10:01:20 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +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
Dmitry Timoshkov 56193ecc36 It's OK to have dwNumEntries == 0 if there is no network connection. 2004-05-06 23:39:59 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Hans Leidekker 8901df76d4 Don't include config.h. 2004-03-22 21:13:48 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard e8a339c1d2 Portability fixes for LSB compatibility. 2004-03-01 21:32:02 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Juan Lang 6d5ba7d4bb Remove dead comment. 2004-02-09 20:54:28 +00:00
Alexandre Julliard d03300eca3 Define INADDR_NONE if needed (reported by Robert Lunnon). 2004-01-15 00:25:41 +00:00
Robert Lunnon 761fce5261 Corrected code to acquire mtu under Solaris. 2004-01-14 05:31:23 +00:00
Hans Leidekker fcd9732f84 Remove some unused headers. 2004-01-08 00:41:13 +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
Dmitry Timoshkov 2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Daniel Marmier a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +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
Juan Lang 5cab2b3503 Fixed bug parsing /proc/net/arp for arp table. 2003-09-02 00:55:48 +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