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.

135 lines
2.8 KiB

  1. /*++
  2. Copyright (c) 1995-2000 Microsoft Corporation
  3. Module Name:
  4. dnsc_wmi.h
  5. Abstract:
  6. DNSCMD - header file for dnsc_wmi.c
  7. Include dnsclip.h to get basic stuff.
  8. Author:
  9. Jeff Westhead (jwesth) Novermber 2000
  10. Revision History:
  11. --*/
  12. #ifndef _DNSCMD_WMI_INCLUDED_
  13. #define _DNSCMD_WMI_INCLUDED_
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #include <wbemcli.h> // wmi interface declarations
  18. extern BOOL g_UseWmi;
  19. DNS_STATUS
  20. DnscmdWmi_Initialize(
  21. IN PWSTR pwszServerName
  22. );
  23. DNS_STATUS
  24. DnscmdWmi_Free(
  25. VOID
  26. );
  27. DNS_STATUS
  28. DnscmdWmi_ProcessDnssrvQuery(
  29. IN PSTR pszZoneName,
  30. IN PCSTR pszQuery
  31. );
  32. DNS_STATUS
  33. DnscmdWmi_ProcessEnumZones(
  34. IN DWORD dwFilter
  35. );
  36. DNS_STATUS
  37. DnscmdWmi_ProcessZoneInfo(
  38. IN LPSTR pszZone
  39. );
  40. DNS_STATUS
  41. DnscmdWmi_ProcessZoneDelete(
  42. IN LPSTR pszZone
  43. );
  44. DNS_STATUS
  45. DnscmdWmi_ProcessEnumRecords(
  46. IN LPSTR pszZone,
  47. IN LPSTR pszNode,
  48. IN BOOL fDetail,
  49. IN DWORD dwFlags
  50. );
  51. #define PRIVATE_VT_IPARRAY ( 120 )
  52. DNS_STATUS
  53. DnscmdWmi_ResetProperty(
  54. IN LPSTR pszZone,
  55. IN LPSTR pszProperty,
  56. IN DWORD cimType,
  57. IN PVOID value
  58. );
  59. DNS_STATUS
  60. DnscmdWmi_ProcessResetForwarders(
  61. IN DWORD cForwarders,
  62. IN PIP_ADDRESS aipForwarders,
  63. IN DWORD dwForwardTimeout,
  64. IN DWORD fSlave
  65. );
  66. DNS_STATUS
  67. DnscmdWmi_ProcessDnssrvOperation(
  68. IN LPSTR pszZoneName,
  69. IN LPSTR pszOperation,
  70. IN DWORD dwTypeId,
  71. IN PVOID pvData
  72. );
  73. DNS_STATUS
  74. DnscmdWmi_ProcessRecordAdd(
  75. IN LPSTR pszZoneName,
  76. IN LPSTR pszNodeName,
  77. IN PDNS_RPC_RECORD prrRpc,
  78. IN DWORD Argc,
  79. IN LPSTR * Argv
  80. );
  81. DNS_STATUS
  82. DnscmdWmi_GetStatistics(
  83. IN DWORD dwStatId
  84. );
  85. DNS_STATUS
  86. DnscmdWmi_ProcessResetZoneSecondaries(
  87. IN LPSTR pszZoneName,
  88. IN DWORD fSecureSecondaries,
  89. IN DWORD cSecondaries,
  90. IN PIP_ADDRESS aipSecondaries,
  91. IN DWORD fNotifyLevel,
  92. IN DWORD cNotify,
  93. IN PIP_ADDRESS aipNotify
  94. );
  95. #ifdef __cplusplus
  96. } // extern "C"
  97. #endif
  98. #endif // _DNSCMD_WMI_INCLUDED_