Lines Matching refs:op
32 static void do_job_op(http_t *http, int job_id, ipp_op_t op);
44 const char *op; /* Operation name */
81 if ((op = cgiGetVariable("OP")) != NULL && job_id > 0 && cgiIsPOST())
87 if (!strcmp(op, "cancel-job"))
89 else if (!strcmp(op, "hold-job"))
91 else if (!strcmp(op, "move-job"))
93 else if (!strcmp(op, "release-job"))
95 else if (!strcmp(op, "restart-job"))
104 cgiCopyTemplateLang("error-op.tmpl");
140 ipp_op_t op) /* I - Operation to perform */
157 request = ippNewRequest(op);
199 else if (op == IPP_CANCEL_JOB)
201 else if (op == IPP_HOLD_JOB)
203 else if (op == IPP_RELEASE_JOB)
205 else if (op == IPP_RESTART_JOB)