diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-11-01 13:30:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:37 -0500 |
commit | d0375cfd43abf3d809ef85c198dd147eb1ffb09a (patch) | |
tree | 589c656153e12feea0fd9abe19de21efc55b79fa /source4/librpc/idl | |
parent | 15c1df2e8a71b0e61b6db116c99ed40b1180567d (diff) | |
download | samba-d0375cfd43abf3d809ef85c198dd147eb1ffb09a.tar.gz samba-d0375cfd43abf3d809ef85c198dd147eb1ffb09a.tar.bz2 samba-d0375cfd43abf3d809ef85c198dd147eb1ffb09a.zip |
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)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/misc.idl | 6 | ||||
-rw-r--r-- | source4/librpc/idl/samr.idl | 6 |
2 files changed, 7 insertions, 5 deletions
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; |