summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_util.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-29 04:51:56 +0200
committerGünther Deschner <gd@samba.org>2010-09-30 02:59:35 +0200
commit3797d48b76fadb988c40d056751be8671c9e6906 (patch)
tree06555231fd8974ba189c57c2f4f1c657e140ef47 /source3/rpc_server/srv_spoolss_util.h
parent156ab4ec104adf20257b2ef1e361382eac457ee3 (diff)
downloadsamba-3797d48b76fadb988c40d056751be8671c9e6906.tar.gz
samba-3797d48b76fadb988c40d056751be8671c9e6906.tar.bz2
samba-3797d48b76fadb988c40d056751be8671c9e6906.zip
s3-spoolss: Fix servername/printername handling which turns out to be very important to get right.
Guenther
Diffstat (limited to 'source3/rpc_server/srv_spoolss_util.h')
-rw-r--r--source3/rpc_server/srv_spoolss_util.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.h b/source3/rpc_server/srv_spoolss_util.h
index 36581b84a5..d425bd1bba 100644
--- a/source3/rpc_server/srv_spoolss_util.h
+++ b/source3/rpc_server/srv_spoolss_util.h
@@ -74,7 +74,6 @@ enum spoolss_PrinterInfo2Mask {
WERROR winreg_create_printer(TALLOC_CTX *mem_ctx,
const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
- const char *servername,
const char *sharename);
/**
@@ -116,9 +115,7 @@ 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[in] printer The name of the printer to get.
*
* @param[out] pinfo2 A pointer to store a PRINTER_INFO_2 structure.
*
@@ -128,7 +125,6 @@ WERROR winreg_update_printer(TALLOC_CTX *mem_ctx,
WERROR winreg_get_printer(TALLOC_CTX *mem_ctx,
const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
- const char *servername,
const char *printer,
struct spoolss_PrinterInfo2 **pinfo2);