From d0375cfd43abf3d809ef85c198dd147eb1ffb09a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 1 Nov 2005 13:30:09 +0000 Subject: r11438: Move enum samr_RejectReason into misc.idl so I can use it in a global prototype. Andrew Bartlett (This used to be commit a3abffc75805c8e333f387a96a1dbc352669d359) --- source4/librpc/idl/misc.idl | 6 ++++++ source4/librpc/idl/samr.idl | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl index 5d40753448..2f21b63105 100644 --- a/source4/librpc/idl/misc.idl +++ b/source4/librpc/idl/misc.idl @@ -39,5 +39,11 @@ interface misc SAM_DATABASE_PRIVS = 2 /* Privileges */ } netr_SamDatabaseID; + typedef [public,v1_enum] enum { + SAMR_REJECT_OTHER = 0, + SAMR_REJECT_TOO_SHORT = 1, + SAMR_REJECT_COMPLEXITY = 2 + } samr_RejectReason; + } diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 1555dadfeb..c6ad14ce04 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -1141,11 +1141,7 @@ /************************/ /* Function 0x3f */ - typedef [v1_enum] enum { - SAMR_REJECT_OTHER = 0, - SAMR_REJECT_TOO_SHORT = 1, - SAMR_REJECT_COMPLEXITY = 2 - } samr_RejectReason; + declare enum samr_RejectReason; typedef struct { samr_RejectReason reason; -- cgit