From dbf5df5f8ff0868ac0346ab8a489a789c00c680e Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Thu, 15 Dec 2011 18:52:21 +1100 Subject: idl:dnsserver: Add DNS_DP_STATE enumeration for diretory partition state --- librpc/idl/dnsserver.idl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/librpc/idl/dnsserver.idl b/librpc/idl/dnsserver.idl index 05022701eb..5e29511379 100644 --- a/librpc/idl/dnsserver.idl +++ b/librpc/idl/dnsserver.idl @@ -601,6 +601,13 @@ import "misc.idl", "dnsp.idl"; DNS_RPC_DP_REPLICA; #define PDNS_RPC_DP_REPLICA DNS_RPC_DP_REPLICA* + typedef [v1_enum] enum { + DNS_DP_OKAY = 0x00, + DNS_DP_STATE_REPL_INCOMING = 0x01, + DNS_DP_STATE_REPL_OUTGOING = 0x02, + DNS_DP_STATE_UNKNOWN = 0x03 + } DNS_DP_STATE; + typedef struct { DWORD dwRpcStructureVersion; DWORD dwReserved0; @@ -610,7 +617,7 @@ import "misc.idl", "dnsp.idl"; [string, charset(UTF16)] wchar_t * pszCrDn; DWORD dwFlags; DWORD dwZoneCount; - DWORD dwState; + DNS_DP_STATE dwState; DWORD dwReserved[ 3 ]; DNS_EXTENSION pwszReserved[ 3 ]; -- cgit