summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-14 01:26:27 +0100
committerGünther Deschner <gd@samba.org>2009-03-17 11:49:08 +0100
commit08d170abc12b72e027b80f22b11213346fb6cf7e (patch)
tree0fe78a261f111b5c330f7581e93340552b8df89e /source3/include/proto.h
parent754d136c32372cb9dd604375b98379d9696fb48f (diff)
downloadsamba-08d170abc12b72e027b80f22b11213346fb6cf7e.tar.gz
samba-08d170abc12b72e027b80f22b11213346fb6cf7e.tar.bz2
samba-08d170abc12b72e027b80f22b11213346fb6cf7e.zip
s3-spoolss: add rpccli_spoolss_getprinterdata convenience wrapper.
Guenther
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f2929e8296..6c8e4cba8c 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5533,9 +5533,18 @@ WERROR rpccli_spoolss_enumprinters(struct rpc_pipe_client *cli,
uint32_t offered,
uint32_t *count,
union spoolss_PrinterInfo **info);
+WERROR rpccli_spoolss_getprinterdata(struct rpc_pipe_client *cli,
+ TALLOC_CTX *mem_ctx,
+ struct policy_handle *handle,
+ const char *value_name,
+ uint32_t offered,
+ enum winreg_Type *type,
+ union spoolss_PrinterData *data);
+#if 0
WERROR rpccli_spoolss_getprinterdata(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *hnd, const char *valuename,
REGISTRY_VALUE *value);
+#endif
WERROR rpccli_spoolss_setprinterdata(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *hnd, REGISTRY_VALUE *value);
WERROR rpccli_spoolss_enumprinterdata(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,