diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-01-12 09:57:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:45 -0500 |
commit | 894b6890b43c5c1d269e5e43de8c37262e27d79a (patch) | |
tree | bbcfdfcfbcfa33836c26a1b629faf3ad62dd671c /source4/librpc | |
parent | e54964c61840e108f34b6a9c931fb15a35c4f48c (diff) | |
download | samba-894b6890b43c5c1d269e5e43de8c37262e27d79a.tar.gz samba-894b6890b43c5c1d269e5e43de8c37262e27d79a.tar.bz2 samba-894b6890b43c5c1d269e5e43de8c37262e27d79a.zip |
r4705: use an enum for reject_reason
metze
(This used to be commit 57bf3d7a83ede0099f43a1f71026715f22cda68f)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/samr.idl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index 84aaa2a10a..89a06112a7 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -1151,12 +1151,14 @@ /************************/ /* Function 0x3f */ - const int SAMR_REJECT_OTHER = 0; - const int SAMR_REJECT_TOO_SHORT = 1; - const int SAMR_REJECT_COMPLEXITY = 2; + typedef [v1_enum] enum { + SAMR_REJECT_OTHER = 0, + SAMR_REJECT_TOO_SHORT = 1, + SAMR_REJECT_COMPLEXITY = 2 + } samr_RejectReason; typedef struct { - uint32 reason; + samr_RejectReason reason; uint32 unknown1; uint32 unknown2; } samr_ChangeReject; |