s3-rpc_server: Moved ncacn_np declarations in common header file.
authorSimo Sorce <idra@samba.org>
Wed, 7 Jul 2010 19:24:30 +0000 (15:24 -0400)
committerAndreas Schneider <asn@samba.org>
Wed, 15 Sep 2010 10:53:42 +0000 (12:53 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
source3/printing/nt_printing_migrate.c
source3/printing/printspoolss.c
source3/rpc_server/rpc_ncacn_np.h
source3/rpc_server/srv_netlog_nt.c
source3/rpc_server/srv_spoolss_util.c
source3/smbd/lanman.c
source3/smbd/reply.c

index 2060b91f35dc521730f057c9eb95d0e57a1a40d0..c6466767e58335560d1df08d17cd9d9221433aae 100644 (file)
@@ -25,6 +25,7 @@
 #include "librpc/gen_ndr/cli_spoolss.h"
 #include "rpc_client/cli_spoolss.h"
 #include "librpc/gen_ndr/ndr_security.h"
+#include "rpc_server/rpc_ncacn_np.h"
 
 #define FORMS_PREFIX "FORMS/"
 #define DRIVERS_PREFIX "DRIVERS/"
index 62182865bf047bf521bc241a5f65f95920c07eea..e140d848897d9e0fe4cac64a8284ed42ab98e072 100644 (file)
@@ -20,6 +20,7 @@
 #include "includes.h"
 #include "printing.h"
 #include "../librpc/gen_ndr/cli_spoolss.h"
+#include "rpc_server/rpc_ncacn_np.h"
 #include "smbd/globals.h"
 
 void print_spool_terminate(struct connection_struct *conn,
index 5bcc84c0405a45b26ebaaceec179d0f9cc1dbaa5..2487146967f1c0193b19384b1e4612f1197c6f3c 100644 (file)
@@ -29,10 +29,33 @@ struct np_proxy_state {
        struct tevent_queue *write_queue;
 };
 
+struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx,
+                                             const struct ndr_syntax_id *syntax,
+                                             struct client_address *client_id,
+                                             const struct auth_serversupplied_info *server_info,
+                                             struct messaging_context *msg_ctx);
 struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
                                const char *pipe_name,
                                const struct tsocket_address *local_address,
                                const struct tsocket_address *remote_address,
                                struct auth_serversupplied_info *server_info);
+NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
+                              const struct ndr_interface_table *ndr_table,
+                              struct client_address *client_id,
+                              const struct auth_serversupplied_info *server_info,
+                              struct messaging_context *msg_ctx,
+                              struct dcerpc_binding_handle **binding_handle);
+NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
+                               const struct ndr_syntax_id *abstract_syntax,
+                               struct auth_serversupplied_info *serversupplied_info,
+                               struct client_address *client_id,
+                               struct messaging_context *msg_ctx,
+                               struct rpc_pipe_client **presult);
+NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
+                                const struct ndr_syntax_id *syntax,
+                                struct auth_serversupplied_info *server_info,
+                                struct client_address *client_id,
+                                struct messaging_context *msg_ctx,
+                                struct rpc_pipe_client **cli_pipe);
 
 #endif /* _RPC_NCACN_NP_H_ */
index d0f9dc9dba155cb60b3c629cf6d99c8c9246006f..171f30ba757fd0194b8a769c93f605ed7eedd6bf 100644 (file)
@@ -35,6 +35,7 @@
 #include "librpc/gen_ndr/messaging.h"
 #include "../lib/crypto/md4.h"
 #include "rpc_client/init_lsa.h"
+#include "rpc_server/rpc_ncacn_np.h"
 
 extern userdom_struct current_user_info;
 
index 78a332588c8df1a989fd4ad926836647975f4d35..2ebce91c52f5d70aafdc2bef826e02d9d9835dff 100644 (file)
@@ -27,6 +27,7 @@
 #include "../librpc/gen_ndr/cli_winreg.h"
 #include "../librpc/gen_ndr/ndr_security.h"
 #include "secrets.h"
+#include "rpc_server/rpc_ncacn_np.h"
 
 #define TOP_LEVEL_PRINT_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print"
 #define TOP_LEVEL_PRINT_PRINTERS_KEY TOP_LEVEL_PRINT_KEY "\\Printers"
index fd69d247d22d042f12fac3dbc1f7d564ae0e32a0..2b01e89d6cbd23243acfbbec7f55516a5bb26f08 100644 (file)
@@ -38,6 +38,7 @@
 #include "../lib/util/binsearch.h"
 #include "../libcli/auth/libcli_auth.h"
 #include "rpc_client/init_lsa.h"
+#include "rpc_server/rpc_ncacn_np.h"
 
 #ifdef CHECK_TYPES
 #undef CHECK_TYPES
index 4ace452ed92a630d5fe52f7919e932805754745d..ff77507471d1a290183c7589463d7d26560ffe36 100644 (file)
@@ -31,6 +31,7 @@
 #include "../librpc/gen_ndr/cli_spoolss.h"
 #include "rpc_client/cli_spoolss.h"
 #include "rpc_client/init_spoolss.h"
+#include "rpc_server/rpc_ncacn_np.h"
 
 /****************************************************************************
  Ensure we check the path in *exactly* the same way as W2K for a findfirst/findnext