From b19b6aea1258de18eec6832199f2b736a930b095 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 9 Feb 2009 17:56:20 +0100 Subject: s3-rpcclient: add rpccli_spoolss_openprinter_ex() convenience wrapper. Guenther --- source3/include/proto.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 849bed3b0b..db277ffa42 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5428,6 +5428,11 @@ NTSTATUS rpccli_try_samr_connects(struct rpc_pipe_client *cli, /* The following definitions come from rpc_client/cli_spoolss.c */ +WERROR rpccli_spoolss_openprinter_ex(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *printername, + uint32_t access_desired, + struct policy_handle *handle); WERROR rpccli_spoolss_open_printer_ex(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *printername, const char *datatype, uint32 access_required, const char *station, const char *username, POLICY_HND *pol); -- cgit