summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-09-09 11:32:03 +0200
committerAndreas Schneider <asn@samba.org>2010-09-09 16:00:08 +0200
commitbbf2cd50b04a026750aa5518b590994ba0b4afc5 (patch)
tree085d91ddf7aba6ee713697d07c7aba915bfc31d3 /source3/printing/nt_printing.c
parent021539570b4beac81d22edd60c0cf026f2628479 (diff)
downloadsamba-bbf2cd50b04a026750aa5518b590994ba0b4afc5.tar.gz
samba-bbf2cd50b04a026750aa5518b590994ba0b4afc5.tar.bz2
samba-bbf2cd50b04a026750aa5518b590994ba0b4afc5.zip
s3-printing: Make auth_serversupplied_info const.
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 97899fd505..9f4ede22bd 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1553,7 +1553,7 @@ bool driver_info_ctr_to_info8(struct spoolss_AddDriverInfoCtr *r,
****************************************************************************/
bool printer_driver_in_use(TALLOC_CTX *mem_ctx,
- struct auth_serversupplied_info *server_info,
+ const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
const struct spoolss_DriverInfo8 *r)
{
@@ -1781,7 +1781,7 @@ static bool trim_overlap_drv_files(TALLOC_CTX *mem_ctx,
****************************************************************************/
bool printer_driver_files_in_use(TALLOC_CTX *mem_ctx,
- struct auth_serversupplied_info *server_info,
+ const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
struct spoolss_DriverInfo8 *info)
{
@@ -1875,7 +1875,7 @@ static NTSTATUS driver_unlink_internals(connection_struct *conn,
this.
****************************************************************************/
-bool delete_driver_files(struct auth_serversupplied_info *server_info,
+bool delete_driver_files(const struct auth_serversupplied_info *server_info,
const struct spoolss_DriverInfo8 *r)
{
int i = 0;
@@ -2064,7 +2064,7 @@ void map_job_permissions(struct security_descriptor *sd)
3) "printer admins" (may result in numerous calls to winbind)
****************************************************************************/
-bool print_access_check(struct auth_serversupplied_info *server_info,
+bool print_access_check(const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx, int snum,
int access_type)
{
@@ -2167,7 +2167,7 @@ bool print_access_check(struct auth_serversupplied_info *server_info,
Check the time parameters allow a print operation.
*****************************************************************************/
-bool print_time_access_check(struct auth_serversupplied_info *server_info,
+bool print_time_access_check(const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
const char *servicename)
{
@@ -2205,7 +2205,7 @@ bool print_time_access_check(struct auth_serversupplied_info *server_info,
}
void nt_printer_remove(TALLOC_CTX *mem_ctx,
- struct auth_serversupplied_info *server_info,
+ const struct auth_serversupplied_info *server_info,
struct messaging_context *msg_ctx,
const char *printer)
{