diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-09-09 11:32:03 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-09-09 16:00:08 +0200 |
commit | bbf2cd50b04a026750aa5518b590994ba0b4afc5 (patch) | |
tree | 085d91ddf7aba6ee713697d07c7aba915bfc31d3 /source3/include/nt_printing.h | |
parent | 021539570b4beac81d22edd60c0cf026f2628479 (diff) | |
download | samba-bbf2cd50b04a026750aa5518b590994ba0b4afc5.tar.gz samba-bbf2cd50b04a026750aa5518b590994ba0b4afc5.tar.bz2 samba-bbf2cd50b04a026750aa5518b590994ba0b4afc5.zip |
s3-printing: Make auth_serversupplied_info const.
Diffstat (limited to 'source3/include/nt_printing.h')
-rw-r--r-- | source3/include/nt_printing.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 7ebacc6985..f56ddcbf67 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -237,18 +237,18 @@ WERROR spoolss_map_to_os2_driver(TALLOC_CTX *mem_ctx, const char **pdrivername); const char *get_short_archi(const char *long_archi); -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); WERROR nt_printer_publish(TALLOC_CTX *mem_ctx, - struct auth_serversupplied_info *server_info, + const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, struct spoolss_PrinterInfo2 *pinfo2, int action); bool is_printer_published(TALLOC_CTX *mem_ctx, - struct auth_serversupplied_info *server_info, + const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, char *servername, char *printer, struct GUID *guid, struct spoolss_PrinterInfo2 **info2); @@ -259,14 +259,14 @@ bool driver_info_ctr_to_info8(struct spoolss_AddDriverInfoCtr *r, struct spoolss_DriverInfo8 *_info8); 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); 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 *r); -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); WERROR move_driver_to_download_area(struct pipes_struct *p, @@ -281,12 +281,12 @@ void map_printer_permissions(struct security_descriptor *sd); void map_job_permissions(struct security_descriptor *sd); -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); 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); |