Commit Graph

116 Commits

Author SHA1 Message Date
Dmitry Timoshkov 2cefc54fed dnsapi/tests: Also test the "_ldap._tcp.deadbeef" query.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:55 +01:00
Dmitry Timoshkov 8dc3e01d51 dnsapi/tests: Add some DnsQuery tests.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-06 17:53:35 +01:00
Rémi Bernon 1c232557b8 dnsapi: Increase buffer size to fix format-overflow warning.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 22:36:58 +01:00
Rémi Bernon ec716e9ebd dnsapi: Add DnsGetCacheDataTable stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40606
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-06 19:05:05 +02:00
Hans Leidekker dde0313d9f dnsapi: No longer prefer native.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Hans Leidekker 0529e5b4b1 dnsapi: Fix data length returned for records that contain Unicode strings.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Hans Leidekker ecaeaa974c dnsapi: Add support for DNS_TYPE_OPT records.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46704
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-01 17:48:26 +01:00
Michael Stefaniuc 8ba2b2da05 dnsapi: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:39:45 +02:00
Michael Stefaniuc 47ef3facdc dnsapi/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 09:28:27 +02:00
Michael Stefaniuc 37ed8ef2b9 dnsapi: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-31 09:42:41 +01:00
Hans Leidekker dfe48bab07 dnsapi: Use default server list if passed in array is empty.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-22 10:28:00 +01:00
Francois Gouget 773cfc2a88 dnsapi: Add __WINE_ALLOC_SIZE attributes to heap_xxx() functions.
And standardize their type names.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:32:05 +01:00
Hans Leidekker e10c48143a dnsapi: Add a stub implementation of DnsFlushResolverCacheEntry_A/UTF8/W.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:14 +01:00
Jacek Caban 46626eebd5 dnsapi: Added DnsQueryEx stub.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:52 +09:00
Bruno Jesus 836e6690d4 dnsapi: Do not fail if NETDB_INTERNAL is not present. 2014-07-07 09:13:47 +02:00
Felix Janda 12e1ff956a dnsapi: stdio.h needs to be included for sprintf(). 2014-06-12 18:05:09 +02:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy ad906531b2 dnsapi/tests: Constify a character string. 2013-12-23 11:54:31 +01:00
Hans Leidekker 2b5888cc96 dnsapi/tests: Compile with -D__WINESRC__. 2013-10-14 17:26:15 +02:00
Hans Leidekker 98c64a4be3 dnsapi: Perform a wide character string comparison if the character set is unknown. 2013-10-14 17:26:15 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Hans Leidekker 8981bbd464 dnsapi: Increase maximum packet size. 2013-03-11 10:41:26 +01:00
Michael Stefaniuc c0092bcd76 dnsapi: Use FIELD_OFFSET for the size of a struct with var length array. 2012-12-10 11:26:36 +01:00
Andrew Talbot 5ca89eaf6c dnsapi: Remove unused variable. 2012-11-23 14:41:16 +01:00
Michael Stefaniuc d8bdd4cc01 dnsapi: Remove a superfluous TRUE-FALSE conditional expression. 2012-07-25 16:11:17 +02:00
Hans Leidekker 06cd0e2a49 dnsapi: Remove a dead assignment (clang). 2012-02-05 09:37:15 -06:00
Alexandre Julliard bbb8d4f865 dnsapi: Fix a warning when building on Mingw. 2012-01-23 16:07:34 +01:00
André Hentschel 9e50294f23 dnsapi: Use internal name_skip function. 2011-09-07 11:53:53 +02:00
Andrew Talbot 60e7523353 dnsapi: Void functions should not return a value. 2011-08-29 12:08:20 +02:00
Hans Leidekker 8a29a4a667 dnsapi: Implement DnsFree. 2011-08-24 12:14:47 +02:00
Hans Leidekker d04d2efacf dnsapi: Mark some test results as broken and conform to the more recent behavior. 2011-08-24 12:14:47 +02:00
Marcus Meissner bda648189a dnsapi: Mark internal symbols with hidden visibility. 2011-05-18 10:58:48 +02:00
Marcus Meissner 409aae33dd dnsapi: Added missing breaks (Coverity). 2011-03-28 17:12:21 +02: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
Hans Leidekker 18cd143086 dnsapi: Remove the critical section around res_query. 2010-09-08 19:49:30 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Hans Leidekker c058490b69 dnsapi: _res is per-thread in glibc.
This mirrors Dan Kegel's fix for iphlpapi.
2010-03-23 17:30:25 +01:00
Hans Leidekker af68ef68ce dnsapi: Add a version resource. 2010-03-23 17:30:19 +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
Austin English 5b21d90f5f dnsapi: Add a stub for DnsFlushResolverCache. 2009-08-26 12:09:55 +02:00
Francois Gouget a9597698a8 dnsapi: Reorder a couple of functions to avoid forward declarations. 2009-01-07 14:40:54 +01:00
Francois Gouget dfefbd1200 dnsapi: dns_ns_name_pton() is unused so remove it. 2009-01-07 14:40:50 +01:00
Michael Stefaniuc b8f17bac2b dnsapi/tests: Remove superfluous casts.
The pointers to r1 and r2 are already PDNS_RECORDs.
2009-01-02 11:53:50 +01:00
Austin English 21bc015db3 dnsapi: Remove a useless check. 2008-12-05 13:52:31 +01:00
Michael Stefaniuc 42c733cd3b dnsapi: Transform two for loops into while loops. 2008-11-03 13:41:03 +01:00
Marcus Meissner 8a4748bf01 dnsapi: Fixed incorrect buffer size to GetComputerNameExW. 2008-09-15 11:43:29 +02:00