s3: Lift the server_messaging_context from print_queue_length
[amitay/samba.git] / source3 / include / printing.h
index 95b0ec62790508145d2ed977cc2c11f298a396db..35590a30d29d55f617c9decaf8622eb6a66e8a90 100644 (file)
@@ -134,7 +134,8 @@ bool print_job_resume(struct auth_serversupplied_info *server_info,
                      struct messaging_context *msg_ctx,
                      int snum, uint32 jobid, WERROR *errcode);
 ssize_t print_job_write(int snum, uint32 jobid, const char *buf, SMB_OFF_T pos, size_t size);
-int print_queue_length(int snum, print_status_struct *pstatus);
+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,
                       struct messaging_context *msg_ctx,
                       int snum, const char *docname, const char *filename,