Lines Matching refs:op
34 static void do_class_op(http_t *http, const char *printer, ipp_op_t op,
54 const char *op; /* Operation to perform, if any */
68 op = cgiGetVariable("OP");
108 if (!op || !cgiIsPOST())
150 if (!*op)
164 else if (!strcmp(op, "start-class"))
166 else if (!strcmp(op, "stop-class"))
168 else if (!strcmp(op, "accept-jobs"))
170 else if (!strcmp(op, "reject-jobs"))
172 else if (!strcmp(op, "purge-jobs"))
174 else if (!_cups_strcasecmp(op, "print-test-page"))
176 else if (!_cups_strcasecmp(op, "move-jobs"))
185 cgiCopyTemplateLang("error-op.tmpl");
196 cgiCopyTemplateLang("error-op.tmpl");
221 ipp_op_t op, /* I - Operation to perform */
238 request = ippNewRequest(op);
281 if (op == IPP_PAUSE_PRINTER)
283 else if (op == IPP_RESUME_PRINTER)
285 else if (op == CUPS_ACCEPT_JOBS)
287 else if (op == CUPS_REJECT_JOBS)
289 else if (op == IPP_PURGE_JOBS)