• Home
  • Raw
  • Download

Lines Matching refs:pclass

34   const char	*pclass;		/* Class name */  in main()  local
67 if ((pclass = getenv("PATH_INFO")) != NULL) in main()
69 pclass ++; in main()
71 if (!*pclass) in main()
72 pclass = NULL; in main()
74 if (pclass) in main()
75 cgiSetVariable("PRINTER_NAME", pclass); in main()
129 if (!pclass) in main()
132 show_class(http, pclass); in main()
134 else if (pclass) in main()
146 getenv("SERVER_NAME"), port, "/classes/%s", pclass); in main()
151 do_class_op(http, pclass, IPP_RESUME_PRINTER, cgiText(_("Resume Class"))); in main()
153 do_class_op(http, pclass, IPP_PAUSE_PRINTER, cgiText(_("Pause Class"))); in main()
155 do_class_op(http, pclass, CUPS_ACCEPT_JOBS, cgiText(_("Accept Jobs"))); in main()
157 do_class_op(http, pclass, CUPS_REJECT_JOBS, cgiText(_("Reject Jobs"))); in main()
159 do_class_op(http, pclass, IPP_OP_CANCEL_JOBS, cgiText(_("Cancel Jobs"))); in main()
161 cgiPrintTestPage(http, pclass); in main()
163 cgiMoveJobs(http, pclass, 0); in main()
170 cgiStartHTML(pclass); in main()
295 ipp_attribute_t *pclass; /* Class object */ in show_all_classes() local
368 for (i = 0, pclass = (ipp_attribute_t *)cupsArrayIndex(classes, first); in show_all_classes()
369 i < CUPS_PAGE_MAX && pclass; in show_all_classes()
370 i ++, pclass = (ipp_attribute_t *)cupsArrayNext(classes)) in show_all_classes()
371 cgiSetIPPObjectVars(pclass, NULL, i); in show_all_classes()
439 const char *pclass) /* I - Name of class */ in show_class() argument
460 "localhost", 0, "/classes/%s", pclass); in show_class()
479 if (pclass && (attr = ippFindAttribute(response, "printer-state", in show_class()
488 cgiFormEncode(uri, pclass, sizeof(uri)); in show_class()
503 cgiStartHTML(pclass); in show_class()
516 cgiShowJobs(http, pclass); in show_class()
524 cgiStartHTML(pclass); in show_class()