[DNSAPI] Add missing exported functions
authorEric Kohl <eric.kohl@reactos.org>
Sat, 2 Nov 2019 17:47:36 +0000 (18:47 +0100)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 2 Nov 2019 17:48:31 +0000 (18:48 +0100)
dll/win32/dnsapi/CMakeLists.txt
dll/win32/dnsapi/dnsapi.spec

index a0edb35..244e764 100644 (file)
@@ -25,6 +25,7 @@ list(APPEND SOURCE
 add_library(dnsapi MODULE
     ${SOURCE}
     dnsapi.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/dnsapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
 
 set_module_type(dnsapi win32dll)
index 64ce27a..bb69e12 100644 (file)
@@ -1,3 +1,5 @@
+@ stub BreakRecordsIntoBlob
+@ stub CombineRecordsInBlob
 @ stdcall DnsAcquireContextHandle_A(long ptr ptr)
 @ stdcall DnsAcquireContextHandle_UTF8(long ptr ptr)
 @ stdcall DnsAcquireContextHandle_W(long ptr ptr)
@@ -5,9 +7,11 @@
 @ stdcall DnsAddRecordSet_UTF8()
 @ stdcall DnsAddRecordSet_W()
 @ stdcall DnsAllocateRecord()
-@ stdcall DnsApiHeapReset()
 @ stdcall DnsApiAlloc(long)
+@ stdcall DnsApiHeapReset()
 @ stdcall DnsApiFree(ptr)
+@ stub DnsApiRealloc
+@ stub DnsApiSetDebugGlobals
 @ stdcall DnsAsyncRegisterHostAddrs_A()
 @ stdcall DnsAsyncRegisterHostAddrs_UTF8()
 @ stdcall DnsAsyncRegisterHostAddrs_W()
@@ -37,7 +41,9 @@
 @ stdcall DnsFlushResolverCacheEntry_A(str)
 @ stdcall DnsFlushResolverCacheEntry_UTF8()
 @ stdcall DnsFlushResolverCacheEntry_W()
+@ stdcall DnsFree(ptr long)
 @ stdcall DnsFreeAdapterInformation()
+@ stub DnsFreeConfigStructure
 @ stdcall DnsFreeNetworkInformation()
 @ stdcall DnsFreeSearchInformation()
 @ stdcall DnsGetBufferLengthForStringCopy()
@@ -56,6 +62,7 @@
 @ stdcall DnsGetPrimaryDomainName_UTF8()
 @ stdcall DnsGetPrimaryDomainName_W()
 @ stdcall DnsGetSearchInformation()
+@ stub DnsGlobals
 @ stdcall DnsIpv6AddressToString()
 @ stdcall DnsIpv6StringToAddress()
 @ stdcall DnsIsAdapterDomainNameRegistrationEnabled()
 @ stdcall DnsModifyRecordsInSet_A(ptr ptr long ptr ptr ptr)
 @ stdcall DnsModifyRecordsInSet_UTF8(ptr ptr long ptr ptr ptr)
 @ stdcall DnsModifyRecordsInSet_W(ptr ptr long ptr ptr ptr)
-@ stdcall DnsNameCompare_A(str str)
 @ stdcall DnsNameCompareEx_A()
 @ stdcall DnsNameCompareEx_UTF8()
 @ stdcall DnsNameCompareEx_W()
+@ stdcall DnsNameCompare_A(str str)
 @ stdcall DnsNameCompare_W(wstr wstr)
+
 @ stdcall DnsNameCopy()
 @ stdcall DnsNameCopyAllocate()
 @ stdcall DnsNotifyResolver()
-@ stdcall DnsQuery_A(str long long ptr ptr ptr)
+@ stub DnsNotifyResolverClusterIp
+@ stub DnsNotifyResolverEx
 @ stdcall DnsQueryConfig(long long wstr ptr ptr ptr)
 @ stdcall DnsQueryEx()
+@ stdcall DnsQuery_A(str long long ptr ptr ptr)
 @ stdcall DnsQuery_UTF8(str long long ptr ptr ptr)
 @ stdcall DnsQuery_W(wstr long long ptr ptr ptr)
 @ stdcall DnsRecordBuild_UTF8()
 @ stdcall DnsRecordStringForType()
 @ stdcall DnsRecordStringForWritableType()
 @ stdcall DnsRecordTypeForName()
+@ stub DnsRegisterClusterAddress
 @ stdcall DnsRelationalCompare_UTF8()
 @ stdcall DnsRelationalCompare_W()
 @ stdcall DnsReleaseContextHandle(ptr)
 @ stdcall DnsWriteQuestionToBuffer_UTF8(ptr ptr str long long long)
 @ stdcall DnsWriteQuestionToBuffer_W(ptr ptr wstr long long long)
 @ stdcall DnsWriteReverseNameStringForIpAddress()
+@ stub Dns_AddRecordsToMessage
+@ stub Dns_AllocateMsgBuf
+@ stub Dns_BuildPacket
+@ stub Dns_CacheSocketCleanup
+@ stub Dns_CacheSocketInit
+@ stub Dns_CleanupWinsock
+@ stub Dns_CloseConnection
+@ stub Dns_CloseHostFile
+@ stub Dns_CloseSocket
+@ stub Dns_CreateMulticastSocket
+@ stub Dns_CreateSocket
+@ stub Dns_CreateSocketEx
+@ stub Dns_FindAuthoritativeZoneLib
+@ stub Dns_GetIpAddresses
+@ stub Dns_GetLocalIpAddressArray
+@ stub Dns_GetRandomXid
+@ stub Dns_InitializeMsgRemoteSockaddr
+@ stub Dns_InitializeWinsock
+@ stub Dns_InitQueryTimeouts
+@ stub Dns_OpenHostFile
+@ stub Dns_OpenTcpConnectionAndSend
+@ stub Dns_ParseMessage
+@ stub Dns_ParsePacketRecord
+@ stub Dns_PingAdapterServers
+@ stub Dns_ReadHostFileLine
+@ stub Dns_ReadPacketName
+@ stub Dns_ReadPacketNameAllocate
+@ stub Dns_ReadRecordStructureFromPacket
+@ stub Dns_RecvTcp
+@ stub Dns_ResetNetworkInfo
+@ stub Dns_SendAndRecvUdp
+@ stub Dns_SendEx
+@ stub Dns_SetRecordDatalength
+@ stub Dns_SkipPacketName
+@ stub Dns_SkipToRecord
+@ stub Dns_UpdateLib
+@ stub Dns_UpdateLibEx
+@ stub Dns_WriteDottedNameToPacket
+@ stub Dns_WriteQuestionToMessage
+@ stub Dns_WriteRecordStructureToPacketEx
 @ stdcall GetCurrentTimeInSeconds()
-@ stdcall DnsFree(ptr long)
+@ stub GetRecordsForLocalName
+@ stub NetInfo_Build
+@ stub NetInfo_Clean
+@ stub NetInfo_Copy
+@ stub NetInfo_Free
+@ stub NetInfo_IsForUpdate
+@ stub NetInfo_ResetServerPriorities
+@ stub QueryDirectEx
+@ stub Query_Main
+@ stub Reg_ReadGlobalsEx