return False;
}
- notify_printer_status_byname(messaging_event_context(msg_ctx),
- msg_ctx, argv[2],
+ notify_printer_status_byname(ev_ctx, msg_ctx, argv[2],
PRINTER_STATUS_PAUSED);
goto send;
return False;
}
- notify_printer_status_byname(messaging_event_context(msg_ctx),
- msg_ctx, argv[2],
+ notify_printer_status_byname(ev_ctx, msg_ctx, argv[2],
PRINTER_STATUS_OK);
goto send;
jobid = atoi(argv[3]);
notify_job_status_byname(
- messaging_event_context(msg_ctx), msg_ctx,
+ ev_ctx, msg_ctx,
argv[2], jobid, JOB_STATUS_PAUSED,
SPOOLSS_NOTIFY_MSG_UNIX_JOBID);
jobid = atoi(argv[3]);
notify_job_status_byname(
- messaging_event_context(msg_ctx), msg_ctx,
+ ev_ctx, msg_ctx,
argv[2], jobid, JOB_STATUS_QUEUED,
SPOOLSS_NOTIFY_MSG_UNIX_JOBID);
jobid = atoi(argv[3]);
notify_job_status_byname(
- messaging_event_context(msg_ctx), msg_ctx,
+ ev_ctx, msg_ctx,
argv[2], jobid, JOB_STATUS_DELETING,
SPOOLSS_NOTIFY_MSG_UNIX_JOBID);
notify_job_status_byname(
- messaging_event_context(msg_ctx), msg_ctx,
+ ev_ctx, msg_ctx,
argv[2], jobid, JOB_STATUS_DELETING|
JOB_STATUS_DELETED,
SPOOLSS_NOTIFY_MSG_UNIX_JOBID);
return False;
}
- notify_printer_byname(messaging_event_context(msg_ctx),
- msg_ctx, argv[2], attribute,
+ notify_printer_byname(ev_ctx, msg_ctx, argv[2], attribute,
discard_const_p(char, argv[4]));
goto send;