makefiles: Explicitly create destination dirs when installing symlinks.
[wine/zf.git] / dlls / dnsapi / main.c
blob4ab294c7c0755e9a238f8245655bd460fd8630b2
1 /*
2 * DNS support
4 * Copyright (C) 2006 Matthew Kehrer
5 * Copyright (C) 2006 Hans Leidekker
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winerror.h"
27 #include "windns.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(dnsapi);
33 /******************************************************************************
34 * DnsAcquireContextHandle_A [DNSAPI.@]
37 DNS_STATUS WINAPI DnsAcquireContextHandle_A( DWORD flags, PVOID cred,
38 PHANDLE context )
40 FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
42 *context = (HANDLE)0xdeadbeef;
43 return ERROR_SUCCESS;
46 /******************************************************************************
47 * DnsAcquireContextHandle_UTF8 [DNSAPI.@]
50 DNS_STATUS WINAPI DnsAcquireContextHandle_UTF8( DWORD flags, PVOID cred,
51 PHANDLE context )
53 FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
55 *context = (HANDLE)0xdeadbeef;
56 return ERROR_SUCCESS;
59 /******************************************************************************
60 * DnsAcquireContextHandle_W [DNSAPI.@]
63 DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD flags, PVOID cred,
64 PHANDLE context )
66 FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
68 *context = (HANDLE)0xdeadbeef;
69 return ERROR_SUCCESS;
72 /******************************************************************************
73 * DnsFlushResolverCache [DNSAPI.@]
76 VOID WINAPI DnsFlushResolverCache(void)
78 FIXME(": stub\n");
81 /******************************************************************************
82 * DnsFlushResolverCacheEntry_A [DNSAPI.@]
85 BOOL WINAPI DnsFlushResolverCacheEntry_A( PCSTR entry )
87 FIXME( "%s: stub\n", debugstr_a(entry) );
88 if (!entry) return FALSE;
89 return TRUE;
92 /******************************************************************************
93 * DnsFlushResolverCacheEntry_UTF8 [DNSAPI.@]
96 BOOL WINAPI DnsFlushResolverCacheEntry_UTF8( PCSTR entry )
98 FIXME( "%s: stub\n", debugstr_a(entry) );
99 if (!entry) return FALSE;
100 return TRUE;
103 /******************************************************************************
104 * DnsFlushResolverCacheEntry_W [DNSAPI.@]
107 BOOL WINAPI DnsFlushResolverCacheEntry_W( PCWSTR entry )
109 FIXME( "%s: stub\n", debugstr_w(entry) );
110 if (!entry) return FALSE;
111 return TRUE;
114 /******************************************************************************
115 * DnsGetCacheDataTable [DNSAPI.@]
118 BOOL WINAPI DnsGetCacheDataTable( PDNS_CACHE_ENTRY* entry )
120 FIXME( "(%p) stub\n", entry );
121 return FALSE;
124 /******************************************************************************
125 * DnsReleaseContextHandle [DNSAPI.@]
128 VOID WINAPI DnsReleaseContextHandle( HANDLE context )
130 FIXME( "(%p) stub\n", context );
133 /******************************************************************************
134 * DnsExtractRecordsFromMessage_UTF8 [DNSAPI.@]
137 DNS_STATUS WINAPI DnsExtractRecordsFromMessage_UTF8( PDNS_MESSAGE_BUFFER buffer,
138 WORD len, PDNS_RECORDA *record )
140 FIXME( "(%p,%d,%p) stub\n", buffer, len, record );
142 *record = NULL;
143 return ERROR_SUCCESS;
146 /******************************************************************************
147 * DnsExtractRecordsFromMessage_W [DNSAPI.@]
150 DNS_STATUS WINAPI DnsExtractRecordsFromMessage_W( PDNS_MESSAGE_BUFFER buffer,
151 WORD len, PDNS_RECORDW *record )
153 FIXME( "(%p,%d,%p) stub\n", buffer, len, record );
155 *record = NULL;
156 return ERROR_SUCCESS;
159 /******************************************************************************
160 * DnsModifyRecordsInSet_A [DNSAPI.@]
163 DNS_STATUS WINAPI DnsModifyRecordsInSet_A( PDNS_RECORDA add, PDNS_RECORDA delete,
164 DWORD options, HANDLE context,
165 PVOID servers, PVOID reserved )
167 FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add, delete, options,
168 context, servers, reserved );
169 return ERROR_SUCCESS;
172 /******************************************************************************
173 * DnsModifyRecordsInSet_UTF8 [DNSAPI.@]
176 DNS_STATUS WINAPI DnsModifyRecordsInSet_UTF8( PDNS_RECORDA add, PDNS_RECORDA delete,
177 DWORD options, HANDLE context,
178 PVOID servers, PVOID reserved )
180 FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add, delete, options,
181 context, servers, reserved );
182 return ERROR_SUCCESS;
185 /******************************************************************************
186 * DnsModifyRecordsInSet_W [DNSAPI.@]
189 DNS_STATUS WINAPI DnsModifyRecordsInSet_W( PDNS_RECORDW add, PDNS_RECORDW delete,
190 DWORD options, HANDLE context,
191 PVOID servers, PVOID reserved )
193 FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add, delete, options,
194 context, servers, reserved );
195 return ERROR_SUCCESS;
198 /******************************************************************************
199 * DnsWriteQuestionToBuffer_UTF8 [DNSAPI.@]
202 BOOL WINAPI DnsWriteQuestionToBuffer_UTF8( PDNS_MESSAGE_BUFFER buffer, PDWORD size,
203 PCSTR name, WORD type, WORD xid,
204 BOOL recurse )
206 FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_a(name),
207 type, xid, recurse );
208 return FALSE;
211 /******************************************************************************
212 * DnsWriteQuestionToBuffer_W [DNSAPI.@]
215 BOOL WINAPI DnsWriteQuestionToBuffer_W( PDNS_MESSAGE_BUFFER buffer, PDWORD size,
216 PCWSTR name, WORD type, WORD xid,
217 BOOL recurse )
219 FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_w(name),
220 type, xid, recurse );
221 return FALSE;
224 /******************************************************************************
225 * DnsReplaceRecordSetA [DNSAPI.@]
228 DNS_STATUS WINAPI DnsReplaceRecordSetA( PDNS_RECORDA set, DWORD options,
229 HANDLE context, PVOID servers,
230 PVOID reserved )
232 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
233 servers, reserved );
234 return ERROR_SUCCESS;
237 /******************************************************************************
238 * DnsReplaceRecordSetUTF8 [DNSAPI.@]
241 DNS_STATUS WINAPI DnsReplaceRecordSetUTF8( PDNS_RECORDA set, DWORD options,
242 HANDLE context, PVOID servers,
243 PVOID reserved )
245 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
246 servers, reserved );
247 return ERROR_SUCCESS;
250 /******************************************************************************
251 * DnsReplaceRecordSetW [DNSAPI.@]
254 DNS_STATUS WINAPI DnsReplaceRecordSetW( PDNS_RECORDW set, DWORD options,
255 HANDLE context, PVOID servers,
256 PVOID reserved )
258 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
259 servers, reserved );
260 return ERROR_SUCCESS;