Home | History | Annotate | Download | only in cups

Lines Matching refs:http

11  * missing or damaged, see the license at "http://www.cups.org/".
35 static int cups_get_printer_uri(http_t *http, const char *name,
87 cupsGetPPD2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
96 if (cupsGetPPD3(http, name, &modtime, pg->ppd_filename,
127 http_status_t /* O - HTTP status */
128 cupsGetPPD3(http_t *http, /* I - HTTP connection or @code CUPS_HTTP_DEFAULT@ */
137 http_t *http2; /* Alternate HTTP connection */
143 http_status_t status; /* HTTP status from server */
152 DEBUG_printf(("cupsGetPPD3(http=%p, name=\"%s\", modtime=%p(%d), buffer=%p, "
153 "bufsize=%d)", http, name, modtime,
179 if (http)
180 httpGetHostname(http, hostname, sizeof(hostname));
289 if (!http)
290 if ((http = _cupsConnect()) == NULL)
293 if (!cups_get_printer_uri(http, name, hostname, sizeof(hostname), &port,
327 httpGetHostname(http, http_hostname, sizeof(http_hostname));
328 http_port = httpAddrPort(http->hostaddr);
338 http2 = http;
364 if (http2 != http)
371 * And send a request to the HTTP server...
407 if (http2 != http)
436 cupsGetServerPPD(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
456 if (!http)
457 if ((http = _cupsConnect()) == NULL)
483 ippDelete(cupsDoIORequest(http, request, "/", -1, fd));
504 http_t *http, /* I - Connection to server */
515 http_t *http2; /* Alternate HTTP connection */
534 DEBUG_printf(("4cups_get_printer_uri(http=%p, name=\"%s\", host=%p, hostsize=%d, resource=%p, resourcesize=%d, depth=%d)", http, name, host, hostsize, resource, resourcesize, depth));
556 httpGetHostname(http, http_hostname, sizeof(http_hostname));
557 http_port = httpAddrPort(http->hostaddr);
583 if ((response = cupsDoRequest(http, request, resource)) != NULL)
654 http2 = http;
675 if (http2 != http)