s3: move pipe_auth_data to dcerpc.h
authorGünther Deschner <gd@samba.org>
Mon, 2 May 2011 10:36:25 +0000 (12:36 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 2 May 2011 13:03:44 +0000 (15:03 +0200)
Guenther

source3/include/ntdomain.h
source3/librpc/rpc/dcerpc.h

index 2c5fa2b6694cbfb8df48412ba9b4c3de0d2d3449..ed97182b25804d259d2844624e5aadbedde2fa8b 100644 (file)
@@ -97,20 +97,6 @@ typedef struct pipe_rpc_fns {
 
 struct gse_context;
 
-/* auth state for all bind types. */
-
-struct pipe_auth_data {
-       enum dcerpc_AuthType auth_type;
-       enum dcerpc_AuthLevel auth_level;
-
-       void *auth_ctx;
-
-       /* Only the client code uses these 3 for now */
-       char *domain;
-       char *user_name;
-       DATA_BLOB user_session_key;
-};
-
 struct dcesrv_ep_entry_list;
 
 /*
index 05e8e0d3afa6d30a1b60a4438433096c744267f4..d7e8e0c193d1587dfc128df9963f92ab2033bcb7 100644 (file)
 #define SMB_RPC_INTERFACE_VERSION 1
 
 struct NL_AUTH_MESSAGE;
-struct pipe_auth_data;
+
+/* auth state for all bind types. */
+
+struct pipe_auth_data {
+       enum dcerpc_AuthType auth_type;
+       enum dcerpc_AuthLevel auth_level;
+
+       void *auth_ctx;
+
+       /* Only the client code uses these 3 for now */
+       char *domain;
+       char *user_name;
+       DATA_BLOB user_session_key;
+};
 
 /* The following definitions come from librpc/rpc/dcerpc_helpers.c  */
 NTSTATUS dcerpc_push_ncacn_packet(TALLOC_CTX *mem_ctx,