Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.
authorGünther Deschner <gd@samba.org>
Fri, 21 Mar 2008 02:56:54 +0000 (03:56 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 21 Mar 2008 03:16:21 +0000 (04:16 +0100)
Guenther
(This used to be commit 4e36657275caa77bc9712fe627aeb6fe4aefc151)

source3/include/rpc_srvsvc.h
source3/rpc_server/srv_srvsvc_nt.c

index f4f456e82c9547771acef48ab8b29d6d49efedec..0f6fabe7747a437f120f2214ed3fcd1365375c8c 100644 (file)
 #define SRV_NET_FILE_QUERY_SECDESC 0x27
 #define SRV_NET_FILE_SET_SECDESC   0x28
 
-#define MAX_SERVER_DISK_ENTRIES 15
-
-/***************************/
-
-/* oops - this is going to take up a *massive* amount of stack. */
-/* the UNISTR2s already have 1024 uint16 chars in them... */
-
-#define MAX_SESS_ENTRIES 32
-
-/***************************/
-
-/* oops - this is going to take up a *massive* amount of stack. */
-/* the UNISTR2s already have 1024 uint16 chars in them... */
-#define MAX_CONN_ENTRIES 32
 
 /***************************/
 
index c8f21b76bb5574241162dd26ac57aafa65d9cb29..adbe3f684b1002e43bdde12b343ba7c7e65a01e2 100644 (file)
@@ -29,6 +29,21 @@ extern const struct generic_mapping file_generic_mapping;
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_RPC_SRV
 
+#define MAX_SERVER_DISK_ENTRIES 15
+
+/***************************/
+
+/* oops - this is going to take up a *massive* amount of stack. */
+/* the UNISTR2s already have 1024 uint16 chars in them... */
+
+#define MAX_SESS_ENTRIES 32
+
+/***************************/
+
+/* oops - this is going to take up a *massive* amount of stack. */
+/* the UNISTR2s already have 1024 uint16 chars in them... */
+#define MAX_CONN_ENTRIES 32
+
 /* Use for enumerating connections, pipes, & files */
 
 struct file_enum_count {