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 /source3/librpc/gen_ndr/misc.h | |
parent | 8e9c5f8c006d5753b7bda0df16eadbcf802df0c9 (diff) | |
download | samba-58db2befbd82b8e1e7cb7de29da7f567dea314e9.tar.gz samba-58db2befbd82b8e1e7cb7de29da7f567dea314e9.tar.bz2 samba-58db2befbd82b8e1e7cb7de29da7f567dea314e9.zip |
Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
Diffstat (limited to 'source3/librpc/gen_ndr/misc.h')
-rw-r--r-- | source3/librpc/gen_ndr/misc.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/source3/librpc/gen_ndr/misc.h b/source3/librpc/gen_ndr/misc.h index e439f7f43d..d1cf64e0eb 100644 --- a/source3/librpc/gen_ndr/misc.h +++ b/source3/librpc/gen_ndr/misc.h @@ -2,12 +2,9 @@ #include <stdint.h> -#define netr_SamDatabaseID8Bit netr_SamDatabaseID #ifndef _HEADER_misc #define _HEADER_misc -enum netr_SamDatabaseID8Bit; - struct GUID { uint32_t time_low; uint16_t time_mid; @@ -45,36 +42,4 @@ enum netr_SchannelType #endif ; -enum netr_SamDatabaseID -#ifndef USE_UINT_ENUMS - { - SAM_DATABASE_DOMAIN=0, - SAM_DATABASE_BUILTIN=1, - SAM_DATABASE_PRIVS=2 -} -#else - { __donnot_use_enum_netr_SamDatabaseID=0x7FFFFFFF} -#define SAM_DATABASE_DOMAIN ( 0 ) -#define SAM_DATABASE_BUILTIN ( 1 ) -#define SAM_DATABASE_PRIVS ( 2 ) -#endif -; - -enum samr_RejectReason -#ifndef USE_UINT_ENUMS - { - SAMR_REJECT_OTHER=0, - SAMR_REJECT_TOO_SHORT=1, - SAMR_REJECT_IN_HISTORY=2, - SAMR_REJECT_COMPLEXITY=5 -} -#else - { __donnot_use_enum_samr_RejectReason=0x7FFFFFFF} -#define SAMR_REJECT_OTHER ( 0 ) -#define SAMR_REJECT_TOO_SHORT ( 1 ) -#define SAMR_REJECT_IN_HISTORY ( 2 ) -#define SAMR_REJECT_COMPLEXITY ( 5 ) -#endif -; - #endif /* _HEADER_misc */ |