summaryrefslogtreecommitdiff
path: root/librpc/idl/misc.idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-26 18:20:51 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-26 18:20:51 +0100
commit58db2befbd82b8e1e7cb7de29da7f567dea314e9 (patch)
tree71361673a51d0d2904f7fe91a1b7fba826e78596 /librpc/idl/misc.idl
parent8e9c5f8c006d5753b7bda0df16eadbcf802df0c9 (diff)
downloadsamba-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 'librpc/idl/misc.idl')
-rw-r--r--librpc/idl/misc.idl19
1 files changed, 0 insertions, 19 deletions
diff --git a/librpc/idl/misc.idl b/librpc/idl/misc.idl
index 1182ef1fc2..1907195252 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;
-
}