Lines Matching refs:request
44 ipp_t *request, /* IPP request */
107 request = ippNewRequest(CUPS_GET_DEFAULT);
109 ippAddStrings(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD,
113 if ((response = cupsDoRequest(http, request, "/")) != NULL)
225 ipp_t *request; /* IPP request */
227 resource[HTTP_MAX_URI]; /* Path for request */
231 * Build a printer request, which requires the following
239 request = ippNewRequest(op);
243 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri",
247 * Do the request and get back a response...
251 ippDelete(cupsDoRequest(http, request, resource));
305 ipp_t *request, /* IPP request */
327 * Build a CUPS_GET_PRINTERS request, which requires the following
337 request = ippNewRequest(CUPS_GET_PRINTERS);
339 ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM,
341 ippAddInteger(request, IPP_TAG_OPERATION, IPP_TAG_ENUM,
345 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME,
348 cgiGetAttributes(request, "printers.tmpl");
351 * Do the request and get back a response...
354 if ((response = cupsDoRequest(http, request, "/")) != NULL)
474 ipp_t *request, /* IPP request */
485 * Build an IPP_GET_PRINTER_ATTRIBUTES request, which requires the following
493 request = ippNewRequest(IPP_GET_PRINTER_ATTRIBUTES);
497 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL,
500 cgiGetAttributes(request, "printer.tmpl");
503 * Do the request and get back a response...
506 if ((response = cupsDoRequest(http, request, "/")) != NULL)
510 * single-queue request...