diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/nt_printing.h | 16 | ||||
-rw-r--r-- | source3/include/printing.h | 14 |
2 files changed, 15 insertions, 15 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); diff --git a/source3/include/printing.h b/source3/include/printing.h index 180f6a0e30..36726b342f 100644 --- a/source3/include/printing.h +++ b/source3/include/printing.h @@ -126,13 +126,13 @@ bool print_job_set_name(struct tevent_context *ev, struct messaging_context *msg_ctx, const char *sharename, uint32 jobid, const char *name); bool print_job_get_name(TALLOC_CTX *mem_ctx, const char *sharename, uint32_t jobid, char **name); -WERROR print_job_delete(struct auth_serversupplied_info *server_info, +WERROR print_job_delete(const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, int snum, uint32_t jobid); -bool print_job_pause(struct auth_serversupplied_info *server_info, +bool print_job_pause(const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, int snum, uint32 jobid, WERROR *errcode); -bool print_job_resume(struct auth_serversupplied_info *server_info, +bool print_job_resume(const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, int snum, uint32 jobid, WERROR *errcode); ssize_t print_job_write(struct tevent_context *ev, @@ -140,7 +140,7 @@ ssize_t print_job_write(struct tevent_context *ev, int snum, uint32 jobid, const char *buf, size_t size); int print_queue_length(struct messaging_context *msg_ctx, int snum, print_status_struct *pstatus); -WERROR print_job_start(struct auth_serversupplied_info *server_info, +WERROR print_job_start(const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, const char *clientmachine, int snum, const char *docname, const char *filename, @@ -152,11 +152,11 @@ NTSTATUS print_job_end(struct messaging_context *msg_ctx, int snum, int print_queue_status(struct messaging_context *msg_ctx, int snum, print_queue_struct **ppqueue, print_status_struct *status); -WERROR print_queue_pause(struct auth_serversupplied_info *server_info, +WERROR print_queue_pause(const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, int snum); -WERROR print_queue_resume(struct auth_serversupplied_info *server_info, +WERROR print_queue_resume(const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, int snum); -WERROR print_queue_purge(struct auth_serversupplied_info *server_info, +WERROR print_queue_purge(const struct auth_serversupplied_info *server_info, struct messaging_context *msg_ctx, int snum); #endif /* PRINTING_H_ */ |