diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/smb.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index f7d9f39258..3bff172d4f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4899,6 +4899,8 @@ NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx, const struct ndr_syntax_id NTSTATUS (*dispatch) (struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r), struct auth_serversupplied_info *serversupplied_info, struct rpc_pipe_client **presult); +NTSTATUS rpc_connect_spoolss_pipe(connection_struct *conn, + struct rpc_pipe_client **spoolss_pipe); NTSTATUS cli_rpc_pipe_open_noauth(struct cli_state *cli, const struct ndr_syntax_id *interface, struct rpc_pipe_client **presult); diff --git a/source3/include/smb.h b/source3/include/smb.h index 1ceb54b792..a93caa7bf1 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -592,6 +592,9 @@ typedef struct connection_struct { struct dfree_cached_info *dfree_info; struct trans_state *pending_trans; struct notify_context *notify_ctx; + + struct rpc_pipe_client *spoolss_pipe; + } connection_struct; struct current_user { |