diff options
author | Günther Deschner <gd@samba.org> | 2010-06-03 16:30:55 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-03 16:32:49 +0200 |
commit | 30a9ddccff5b1bd1694a1a9f0e5ceebdee316d79 (patch) | |
tree | a63356c8ccae94fee232e90767dc193802521f62 /source3/rpc_client/init_spoolss.h | |
parent | 12d1a3b0a5367b4f920d32e6cb1fcdc2f7d17513 (diff) | |
download | samba-30a9ddccff5b1bd1694a1a9f0e5ceebdee316d79.tar.gz samba-30a9ddccff5b1bd1694a1a9f0e5ceebdee316d79.tar.bz2 samba-30a9ddccff5b1bd1694a1a9f0e5ceebdee316d79.zip |
s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
This fixes some invalid typecasts.
Guenther
Diffstat (limited to 'source3/rpc_client/init_spoolss.h')
-rw-r--r-- | source3/rpc_client/init_spoolss.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_client/init_spoolss.h b/source3/rpc_client/init_spoolss.h index 50ccf477ab..60ee041ae5 100644 --- a/source3/rpc_client/init_spoolss.h +++ b/source3/rpc_client/init_spoolss.h @@ -11,4 +11,6 @@ WERROR pull_spoolss_PrinterData(TALLOC_CTX *mem_ctx, WERROR push_spoolss_PrinterData(TALLOC_CTX *mem_ctx, DATA_BLOB *blob, enum winreg_Type type, union spoolss_PrinterData *data); +void spoolss_printerinfo2_to_setprinterinfo2(const struct spoolss_PrinterInfo2 *i, + struct spoolss_SetPrinterInfo2 *s); |