Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
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
Hans Leidekker 06cd0e2a49 dnsapi: Remove a dead assignment (clang). 2012-02-05 09:37:15 -06:00
Hans Leidekker 18cd143086 dnsapi: Remove the critical section around res_query. 2010-09-08 19:49:30 +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
Marcus Meissner 8a4748bf01 dnsapi: Fixed incorrect buffer size to GetComputerNameExW. 2008-09-15 11:43:29 +02:00
Andrew Talbot 5ca83ae502 dnsapi: Sign-compare warnings fix. 2008-08-01 11:18:11 +02:00
Andrew Talbot 1a1d0a3ec1 dnsapi: Remove unneeded casts. 2007-12-11 12:08:38 +01:00
Michael Stefaniuc b3ff6803c0 dnsapi: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-28 11:19:58 +01:00
Francois Gouget 4040ecee2b dnsapi: Fix the DnsQueryConfig() prototype. 2007-09-18 11:21:17 +02:00
Francois Gouget ca3a241889 dnsapi: Better match the PSDK types, especially with regards to constness.
Add some missing A/W prototype macros.
Update win32.api to fix the winapi_check warnings.
2007-08-08 15:32:03 +02:00
Francois Gouget cace3f9e8c dnsapi: The DNS APIs don't take PIP4_ARRAYs anymore (for IPv6 compatibility). 2007-08-06 12:30:25 +02:00
Alexandre Julliard 98934f20d8 dnsapi: Fix some potential infinite loops because of an unsigned loop counter. 2007-07-12 17:32:07 +02:00
Francois Gouget 5a8fc34033 Assorted spelling fixes. 2007-04-30 12:35:11 +02:00
Andrew Talbot 275e104a57 dnsapi: Constify some variables. 2007-04-26 14:24:38 +02:00
Hans Leidekker dfebf1b91d iphlpapi: Only call res_init() once per process. 2007-04-19 11:56:03 +02:00
Kai Blin 2620cea3c2 dnsapi: Fix entering the success case (Coverity). 2007-01-02 13:30:20 +01:00
Hans Leidekker 4e3b3debef dnsapi: Win64 printf format warning fixes. 2006-10-02 14:32:19 +02:00
Hans Leidekker a9a04fb386 dnsapi: Use the proper type for the return value in dns_do_query_netbios().
Remove some unnecessary casts.
2006-09-14 11:11:57 +02:00
Andrew Talbot ba645eaab1 dnsapi: Cast-qual warnings fix. 2006-09-10 10:17:05 +02:00
Hans Leidekker dfd22085bb dnsapi: Fix a buffer overrun (Coverity). 2006-07-11 12:04:58 +02:00
Hans Leidekker f9b213ff7b dnsapi: Free all allocated records instead of just the last one. 2006-06-19 10:30:08 +02:00
Hans Leidekker 5213b4a3f2 dnsapi: Correct testing for zero option value DNS_QUERY_STANDARD. 2006-06-19 10:30:02 +02:00
Hans Leidekker 02ca30e8f9 dnsapi: Fall back to a netbios query when a dns query fails. 2006-06-01 11:08:01 +02:00
Alexandre Julliard d1a3383d53 dnsapi: Remove a bunch of unused functions that cause naming conflicts. 2006-05-31 14:25:49 +02:00
Alexandre Julliard 826cc602d5 dnsapi: Portability fixes. 2006-05-31 14:17:04 +02:00
Michael Stefaniuc 15c0db3623 dnsapi: Fixed missing lock release on error path. 2006-05-31 11:44:59 +02:00
Hans Leidekker 5931739cde dnsapi: Implement DnsQuery_{A,UTF8,W}. 2006-05-30 19:33:38 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker da1d724c40 dnsapi: Partially implement DnsQueryConfig. 2006-05-09 11:55:24 +02:00