s3-passdb: move some defines out of rpc headers (they really belong to passdb).
[ira/wip.git] / source3 / include / rpc_misc.h
index aff9b1c6f0978069750fdd6de6b583aee824cd3f..e86c47f39a7f57838002a70dfeea4bf3d41e456c 100644 (file)
@@ -24,7 +24,6 @@
 #define _RPC_MISC_H 
 
 #define SMB_RPC_INTERFACE_VERSION 1
-#define PRS_POINTER_CAST bool (*)(const char*, prs_struct*, int, void*)
 
 
 /********************************************************************** 
 #define BUILTIN_ALIAS_RID_PRE_2K_ACCESS (0x0000022aL)
 
 
-/********************************************************************** 
- * Masks for mappings between unix uid and gid types and
- * NT RIDS.
- **********************************************************************/
-
-#define BASE_RID (0x000003E8L)
-
-/* Take the bottom bit. */
-#define RID_TYPE_MASK          1
-#define RID_MULTIPLIER                 2
-
-/* The two common types. */
-#define USER_RID_TYPE          0
-#define GROUP_RID_TYPE                 1
-
-
 
 /********************************************************************** 
  * RPC policy handle used pretty much everywhere
@@ -104,23 +87,4 @@ typedef struct {            /* UNISTR - unicode string size and buffer */
                                   little-endian. ***MUST*** be null-terminated */
 } UNISTR;
 
-/*
- * I'm really wondering how many different time formats
- * I will have to cope with
- *
- * JFM, 09/13/98 In a mad mood ;-(
-*/
-typedef struct systemtime
-{
-       uint16 year;
-       uint16 month;
-       uint16 dayofweek;
-       uint16 day;
-       uint16 hour;
-       uint16 minute;
-       uint16 second;
-       uint16 milliseconds;
-}
-SYSTEMTIME;
-
 #endif /* _RPC_MISC_H */