s3-spoolss: add rpccli_spoolss_enumprinterkey convenience wrapper.
[ira/wip.git] / source3 / include / proto.h
index e73237daff35ee76b7afc497698f140d56aa7c1f..4b9582226322f91e392b3315d7578ff1dbf5a3ce 100644 (file)
@@ -5540,6 +5540,12 @@ WERROR rpccli_spoolss_getprinterdata(struct rpc_pipe_client *cli,
                                     uint32_t offered,
                                     enum winreg_Type *type,
                                     union spoolss_PrinterData *data);
+WERROR rpccli_spoolss_enumprinterkey(struct rpc_pipe_client *cli,
+                                    TALLOC_CTX *mem_ctx,
+                                    struct policy_handle *handle,
+                                    const char *key_name,
+                                    const char ***key_buffer,
+                                    uint32_t offered);
 WERROR rpccli_spoolss_enumprinterdataex(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
                                     POLICY_HND *hnd, const char *keyname, 
                                     REGVAL_CTR *ctr);