Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

392 lines
5.5 KiB

  1. LIBRARY DNSAPI
  2. EXPORTS
  3. ;
  4. ; *** SDK -- windns.h
  5. ;
  6. ;
  7. ; Update
  8. ;
  9. DnsAcquireContextHandle_A
  10. DnsAcquireContextHandle_W
  11. DnsReleaseContextHandle
  12. DnsModifyRecordsInSet_UTF8
  13. DnsModifyRecordsInSet_A
  14. DnsModifyRecordsInSet_W
  15. DnsReplaceRecordSetUTF8
  16. DnsReplaceRecordSetA
  17. DnsReplaceRecordSetW
  18. ;
  19. ; Query
  20. ;
  21. DnsQuery_UTF8
  22. DnsQuery_A
  23. DnsQuery_W
  24. DnsQueryExW
  25. DnsQueryExA
  26. DnsQueryExUTF8
  27. ;
  28. ; Record utilities
  29. ;
  30. DnsRecordCopyEx
  31. DnsRecordSetCopyEx
  32. DnsRecordCompare
  33. DnsRecordSetCompare
  34. DnsRecordSetDetach
  35. DnsRecordListFree
  36. ;
  37. ; Packet utilities
  38. ;
  39. DnsWriteQuestionToBuffer_W
  40. DnsWriteQuestionToBuffer_UTF8
  41. DnsExtractRecordsFromMessage_W
  42. DnsExtractRecordsFromMessage_UTF8
  43. ;
  44. ; Names
  45. ;
  46. DnsNameCompare_W
  47. DnsNameCompare_A
  48. DnsValidateName_UTF8
  49. DnsValidateName_W
  50. DnsValidateName_A
  51. ;
  52. ; Config
  53. ;
  54. DnsQueryConfig
  55. ;
  56. ; General
  57. ;
  58. DnsFree
  59. ;
  60. ; *** System Public -- dnsapi.h
  61. ;
  62. ;
  63. ; DHCP
  64. ;
  65. DnsDhcpRegisterInit
  66. DnsDhcpRegisterTerm
  67. DnsDhcpRegisterHostAddrs
  68. DnsDhcpRemoveRegistrations
  69. DnsDhcpSrvRegisterInit
  70. DnsDhcpSrvRegisterTerm
  71. DnsDhcpSrvRegisterHostName
  72. ;
  73. ; Update
  74. ;
  75. DnsUpdateTest_UTF8
  76. DnsUpdateTest_A
  77. DnsUpdateTest_W
  78. ;
  79. ; Resolver
  80. ;
  81. DnsNotifyResolver
  82. DnsNotifyResolverEx
  83. DnsRegisterClusterAddress
  84. DnsFlushResolverCache
  85. DnsFlushResolverCacheEntry_UTF8
  86. DnsFlushResolverCacheEntry_A
  87. DnsFlushResolverCacheEntry_W
  88. DnsGetCacheDataTable
  89. ;
  90. ; Names
  91. ;
  92. DnsNameCompare_UTF8
  93. DnsNameCompareEx_W
  94. DnsNameCompareEx_A
  95. DnsNameCompareEx_UTF8
  96. ;
  97. ; ICS
  98. ;
  99. Dns_BuildPacket
  100. Dns_ParseMessage
  101. ;
  102. ; Config
  103. ;
  104. DnsQueryConfigAllocEx
  105. DnsFreeConfigStructure
  106. DnsQueryConfigDword
  107. DnsSetConfigDword
  108. ;
  109. ; Memory
  110. ;
  111. DnsApiHeapReset
  112. DnsApiAlloc
  113. DnsApiAllocZero
  114. DnsApiRealloc
  115. DnsApiFree
  116. DnsApiSetDebugGlobals
  117. ;
  118. ; *** Private -- dnsapip.h
  119. ;
  120. ; DCR: Determine what routines should be system public.
  121. ; Note: lots of this is exposed in dnsapi.h currently.
  122. ; Need to triage.
  123. ;
  124. ;
  125. ; Test
  126. ;
  127. ; FAZ may be in netdiag also
  128. DnsFindAuthoritativeZone
  129. ;
  130. ; Netdiag
  131. ;
  132. DnsNetworkInfo_CreateFromFAZ
  133. DnsNetworkInformation_CreateFromFAZ
  134. ;
  135. ; Resolver
  136. ;
  137. ; config netinfo
  138. DnsGlobals
  139. Reg_ReadGlobalsEx
  140. Reg_GetValueEx
  141. Dns_InitQueryTimeouts
  142. NetInfo_Copy
  143. NetInfo_Free
  144. NetInfo_Build
  145. NetInfo_Clean
  146. NetInfo_ResetServerPriorities
  147. Dns_ResetNetworkInfo
  148. ; query
  149. Query_Main
  150. CombineRecordsInBlob
  151. BreakRecordsIntoBlob
  152. Local_GetRecordsForLocalName
  153. HostsFile_Open
  154. HostsFile_Close
  155. HostsFile_ReadLine
  156. ; sockets
  157. Socket_CacheCleanup
  158. Socket_CacheInit
  159. Socket_Create
  160. Socket_CreateMulticast
  161. Socket_CloseEx
  162. Socket_InitWinsock
  163. Socket_CleanupWinsock
  164. ; update\FAZ
  165. Dns_UpdateLib
  166. Dns_FindAuthoritativeZoneLib
  167. Dns_PingAdapterServers
  168. ; mcast
  169. ; (possibly in ICS)
  170. Dns_AddRecordsToMessage
  171. Dns_ReadPacketName
  172. Dns_AllocateMsgBuf
  173. Util_IsIp6Running
  174. ;
  175. ; Dnsup.exe
  176. ;
  177. QueryDirectEx
  178. Dns_UpdateLibEx
  179. DnsUpdate
  180. ;
  181. ; DnsLib
  182. ;
  183. ; security.c
  184. Socket_ClearMessageSockets
  185. Socket_CloseMessageSockets
  186. Send_OpenTcpConnectionAndSend
  187. Send_MessagePrivate
  188. Dns_RecvTcp
  189. Send_AndRecvUdpWithParam
  190. ; security.c should be in library
  191. Dns_SkipToRecord
  192. Dns_SetRecordDatalength
  193. Dns_ParsePacketRecord
  194. Dns_ReadRecordStructureFromPacket
  195. Dns_GetRandomXid
  196. Dns_WriteQuestionToMessage
  197. ; rrwrite.c \ rrwrite.
  198. Dns_WriteRecordStructureToPacketEx
  199. Dns_WriteDottedNameToPacket
  200. Dns_ReadPacketNameAllocate
  201. Dns_SkipPacketName
  202. ;
  203. ; Record utilities
  204. ;
  205. DnsAllocateRecord
  206. DnsRecordBuild_UTF8
  207. DnsRecordBuild_W
  208. ;
  209. ; General utilities
  210. ;
  211. GetCurrentTimeInSeconds
  212. ;
  213. ; *** Should NOT be System Public *** -- but currently exposed
  214. ;
  215. ;
  216. ; REMOVE exports
  217. ;
  218. ;
  219. ; Exposed in dnslib.h
  220. ;
  221. ;
  222. ; Exposed in dnsapi.h
  223. ; General utilities
  224. DnsStatusString
  225. DnsMapRcodeToStatus
  226. DnsIsStatusRcode
  227. DnsGetDomainName
  228. DnsRecordTypeForName
  229. DnsRecordStringForType
  230. DnsRecordStringForWritableType
  231. DnsIsStringCountValidForTextType
  232. DnsIsAMailboxType
  233. DnsUnicodeToUtf8
  234. DnsDowncaseDnsNameLabel
  235. DnsUtf8ToUnicode
  236. DnsCreateStandardDnsNameCopy
  237. DnsValidateUtf8Byte
  238. DnsNameCopy
  239. DnsNameCopyAllocate
  240. DnsCreateStringCopy
  241. DnsGetBufferLengthForStringCopy
  242. DnsCopyStringEx
  243. DnsStringCopyAllocateEx
  244. ; should replace by exposed straddr routines
  245. ; str-address could come from Rtl
  246. ; reverse must come from us
  247. ;
  248. ; (in dnsapi.h)
  249. ;
  250. DnsWriteReverseNameStringForIpAddress
  251. DnsCreateReverseNameStringForIpAddress
  252. DnsIpv6StringToAddress
  253. DnsIpv6AddressToString
  254. ; old cluster routine
  255. ; still in use \cluster\resdll\ipaddr\ipaddr.c
  256. DnsNotifyResolverClusterIp
  257. ;
  258. ; DEAD -- macro'd away
  259. ;
  260. ;
  261. ; Somehow some net code is using these entry points and
  262. ; ignoring the macros defining them in dnsapi.h
  263. ;
  264. DnsGetPrimaryDomainName_A
  265. DnsGetDnsServerList
  266. ;
  267. ; Kill soon, when build clean
  268. ;
  269. DnsGetLastFailedUpdateInfo
  270. ;
  271. ; XP backcompat
  272. ;
  273. ;
  274. ; Sockets
  275. ; -- believe winsock only in resolver\dnsup
  276. ; -- multicast not used at all
  277. ;
  278. Dns_InitializeWinsock
  279. Dns_CleanupWinsock
  280. Dns_CreateMulticastSocket
  281. ; -- believe these unused except possibly ICS
  282. ;
  283. Dns_CreateSocket
  284. Dns_CreateSocketEx
  285. Dns_InitializeMsgRemoteSockaddr
  286. Dns_OpenTcpConnectionAndSend
  287. Dns_CloseConnection
  288. Dns_CloseSocket
  289. Dns_SendEx
  290. Dns_SendAndRecvUdp
  291. ;
  292. ; DHCP XP backcompat only
  293. ;
  294. DnsAsyncRegisterHostAddrs
  295. DnsAsyncRegisterInit
  296. DnsAsyncRegisterTerm
  297. DnsRemoveRegistrations
  298. DnsDhcpSrvRegisterInitialize