s3: Lift the server_messaging_context from print_job_end
[ira/wip.git] / source3 / include / nt_printing.h
index e7e2536ce66cc96d6b08888b350c9e832a01132e..7ebacc6985434b7298accb60efc2d5a7e5f8a5be 100644 (file)
@@ -243,15 +243,17 @@ bool print_access_check(struct auth_serversupplied_info *server_info,
 
 WERROR nt_printer_publish(TALLOC_CTX *mem_ctx,
                          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,
+                         struct messaging_context *msg_ctx,
                          char *servername, char *printer, struct GUID *guid,
                          struct spoolss_PrinterInfo2 **info2);
 
-WERROR check_published_printers(void);
+WERROR check_published_printers(struct messaging_context *msg_ctx);
 
 bool driver_info_ctr_to_info8(struct spoolss_AddDriverInfoCtr *r,
                              struct spoolss_DriverInfo8 *_info8);
@@ -285,6 +287,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,
+                       struct messaging_context *msg_ctx,
                        const char *printer);
 
 #endif /* NT_PRINTING_H_ */