diff options
author | Andreas Schneider <asn@samba.org> | 2010-04-26 13:36:19 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-05 17:32:51 +0200 |
commit | 053ed7d554fe8822ceabda48968da5a87030104a (patch) | |
tree | 071472a4d19cfdbf6039ff4612b39032af100288 /source3/rpc_server/srv_spoolss_util.h | |
parent | a5fb4117e18cfa334a455ff0ab37ab71ef23dfd2 (diff) | |
download | samba-053ed7d554fe8822ceabda48968da5a87030104a.tar.gz samba-053ed7d554fe8822ceabda48968da5a87030104a.tar.bz2 samba-053ed7d554fe8822ceabda48968da5a87030104a.zip |
s3-spoolss: Added missing servername option to winreg_{create,get}_printer.
This is needed to be able to pass the correct servername from
Printer_entry.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.h')
-rw-r--r-- | source3/rpc_server/srv_spoolss_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h index 4b5117e937..f883f20a45 100644 --- a/source3/rpc_server/srv_spoolss_util.h +++ b/source3/rpc_server/srv_spoolss_util.h @@ -73,6 +73,7 @@ enum spoolss_PrinterInfo2Mask { WERROR winreg_create_printer(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *server_info, + const char *servername, const char *sharename); /** @@ -110,6 +111,8 @@ WERROR winreg_update_printer(TALLOC_CTX *mem_ctx, * * @param[in] server_info The server supplied session info. * + * @param[in] printer The servername to use. + * * @param[in] printer The name of the printer to get. * * @param[out] pinfo2 A pointer to store a PRINTER_INFO_2 structure. @@ -119,6 +122,7 @@ WERROR winreg_update_printer(TALLOC_CTX *mem_ctx, */ WERROR winreg_get_printer(TALLOC_CTX *mem_ctx, struct auth_serversupplied_info *server_info, + const char *servername, const char *printer, struct spoolss_PrinterInfo2 **pinfo2); |