diff options
author | Simo Sorce <idra@samba.org> | 2010-07-07 15:24:30 -0400 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-09-15 12:53:42 +0200 |
commit | 8ec7aaef48c3d9a6b1f07602c5410b5524099d36 (patch) | |
tree | fa728f70ff8e5db310e1ee425a1f436942c1add9 /source3/rpc_server | |
parent | 390642a9e6d1b0d1aacbe17b48c4f3695ee1d80d (diff) | |
download | samba-8ec7aaef48c3d9a6b1f07602c5410b5524099d36.tar.gz samba-8ec7aaef48c3d9a6b1f07602c5410b5524099d36.tar.bz2 samba-8ec7aaef48c3d9a6b1f07602c5410b5524099d36.zip |
s3-rpc_server: Moved ncacn_np declarations in common header file.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/rpc_ncacn_np.h | 23 | ||||
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.c | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/source3/rpc_server/rpc_ncacn_np.h b/source3/rpc_server/rpc_ncacn_np.h index 5bcc84c040..2487146967 100644 --- a/source3/rpc_server/rpc_ncacn_np.h +++ b/source3/rpc_server/rpc_ncacn_np.h @@ -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_ */ diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index d0f9dc9dba..171f30ba75 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -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; diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c index 78a332588c..2ebce91c52 100644 --- a/source3/rpc_server/srv_spoolss_util.c +++ b/source3/rpc_server/srv_spoolss_util.c @@ -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" |