Commit Graph

40 Commits

Author SHA1 Message Date
Alexandre Julliard aec19e86f6 dnsapi: Implement DnsExtractRecordsFromMessage().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Huw Davies 734de3bef8 dnsapi: Return ERROR_MORE_DATA on insufficient buffer.
This was already done correctly in the res_getservers() case.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-09 11:40:34 +02:00
Huw Davies f705f5837c dnsapi: Add support for returning ipv6 dns server addresses.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-03 22:42:01 +02:00
Huw Davies bd80dd0903 dnsapi: Implement support for returning ipv4 servers in a DNS_ADDR_ARRAY.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-03 22:42:01 +02:00
Alexandre Julliard 60da2f877d dnsapi/tests: Avoid wcsncpy().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-04 21:33:14 +02:00
Hans Leidekker c511511e62 dnsapi/tests: Don't fail on query timeouts.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-31 22:16:25 +02:00
Hans Leidekker 7ff591d7de dnsapi/tests: Add a query test.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-30 17:10:03 +02:00
Michael Stefaniuc 83fdd6285d dnsapi/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-09 10:27:36 +01:00
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 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
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
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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +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
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +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
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
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
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
Hans Leidekker 73d0e7fda3 dnsapi: Fix a number of memory leaks. 2008-07-21 12:21:11 +02:00
Paul Vriens 1691ca5ee3 dnsapi/tests: No need to dynamically load dnsapi anymore. 2007-08-21 21:38:44 +02:00
Francois Gouget 68953ffd7d dnsapi: Define DNS_STATUS as LONG instead of long to improve Win64 compatibility. 2007-08-03 12:41:15 +02:00
Paul Vriens 034765e100 dnsapi/tests: Load dnsapi dynamically and use skip. 2007-03-12 12:08:42 +01:00
Hans Leidekker 0c0d190376 dnsapi: Implement and test DnsRecordSetDetach. 2006-09-14 11:11:45 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Andrew Talbot eed737ea8f dnsapi/tests: Write-strings warnings fix. 2006-08-15 11:42:30 +02:00
Andrew Talbot 4f608f0bbb dnsapi/tests: Write-strings warnings fix. 2006-07-20 12:11:25 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker 6e3223eb38 dnsapi: Add tests for DnsValidateName_A. 2006-05-15 13:56:44 +02:00
Hans Leidekker a9328088fe dnsapi: The ttl value should be ignored when comparing dns records. 2006-05-09 20:41:22 +02:00
Hans Leidekker efe9cedab2 dnsapi: Implement and test DnsRecordSetCompare. 2006-05-08 20:58:48 +02:00
Hans Leidekker 12ae5d4e4b dnsapi: Add tests for DnsRecordCompare. 2006-05-07 10:09:29 +02:00
Hans Leidekker 975899aa83 dnsapi: Add a test for DnsNameCompare_A. 2006-04-10 15:53:04 +02:00