diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-26 18:20:51 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-26 18:20:51 +0100 |
commit | 58db2befbd82b8e1e7cb7de29da7f567dea314e9 (patch) | |
tree | 71361673a51d0d2904f7fe91a1b7fba826e78596 /librpc/idl/misc.idl | |
parent | 8e9c5f8c006d5753b7bda0df16eadbcf802df0c9 (diff) | |
download | samba-58db2befbd82b8e1e7cb7de29da7f567dea314e9.tar.gz |
Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
Diffstat (limited to 'librpc/idl/misc.idl')
-rw-r--r-- | librpc/idl/misc.idl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/librpc/idl/misc.idl b/librpc/idl/misc.idl index 1182ef1fc24..19071952521 100644 --- a/librpc/idl/misc.idl +++ b/librpc/idl/misc.idl @@ -2,15 +2,11 @@ miscellaneous IDL structures */ -cpp_quote("#define netr_SamDatabaseID8Bit netr_SamDatabaseID") - [ pointer_default(unique) ] interface misc { - typedef enum netr_SamDatabaseID8Bit netr_SamDatabaseID8Bit; - typedef [public,noprint,gensize,noejs] struct { uint32 time_low; uint16 time_mid; @@ -39,19 +35,4 @@ interface misc SEC_CHAN_DOMAIN = 4, SEC_CHAN_BDC = 6 } netr_SchannelType; - - /* SAM database types */ - typedef [public,v1_enum] enum { - SAM_DATABASE_DOMAIN = 0, /* Domain users and groups */ - SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */ - SAM_DATABASE_PRIVS = 2 /* Privileges */ - } netr_SamDatabaseID; - - typedef [public,v1_enum] enum { - SAMR_REJECT_OTHER = 0, - SAMR_REJECT_TOO_SHORT = 1, - SAMR_REJECT_IN_HISTORY = 2, - SAMR_REJECT_COMPLEXITY = 5 - } samr_RejectReason; - } |