diff options
author | Andreas Schneider <asn@samba.org> | 2010-04-21 17:59:55 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-23 16:06:51 +0200 |
commit | d65485b3c5b9168609069e0d771db11424fcddb4 (patch) | |
tree | c523056aa9ec02f06969980a343280eb11c79db4 /source3/printing | |
parent | 3f1cc29814c62b60a5615bb05c13addd171cc141 (diff) | |
download | samba-d65485b3c5b9168609069e0d771db11424fcddb4.tar.gz samba-d65485b3c5b9168609069e0d771db11424fcddb4.tar.bz2 samba-d65485b3c5b9168609069e0d771db11424fcddb4.zip |
s3-spoolss: Use const values for notify functions.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/notify.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c index 756a6c23b9..8d6bdc0b3e 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -469,7 +469,7 @@ void notify_job_submitted(const char *sharename, uint32 jobid, jobid, sizeof(submitted), (char *)&submitted); } -void notify_printer_driver(int snum, char *driver_name) +void notify_printer_driver(int snum, const char *driver_name) { const char *sharename = SERVICE(snum); @@ -478,7 +478,7 @@ void notify_printer_driver(int snum, char *driver_name) snum, strlen(driver_name) + 1, driver_name); } -void notify_printer_comment(int snum, char *comment) +void notify_printer_comment(int snum, const char *comment) { const char *sharename = SERVICE(snum); @@ -487,7 +487,7 @@ void notify_printer_comment(int snum, char *comment) snum, strlen(comment) + 1, comment); } -void notify_printer_sharename(int snum, char *share_name) +void notify_printer_sharename(int snum, const char *share_name) { const char *sharename = SERVICE(snum); @@ -496,7 +496,7 @@ void notify_printer_sharename(int snum, char *share_name) snum, strlen(share_name) + 1, share_name); } -void notify_printer_printername(int snum, char *printername) +void notify_printer_printername(int snum, const char *printername) { const char *sharename = SERVICE(snum); @@ -505,7 +505,7 @@ void notify_printer_printername(int snum, char *printername) snum, strlen(printername) + 1, printername); } -void notify_printer_port(int snum, char *port_name) +void notify_printer_port(int snum, const char *port_name) { const char *sharename = SERVICE(snum); @@ -514,7 +514,7 @@ void notify_printer_port(int snum, char *port_name) snum, strlen(port_name) + 1, port_name); } -void notify_printer_location(int snum, char *location) +void notify_printer_location(int snum, const char *location) { const char *sharename = SERVICE(snum); |