Home | History | Annotate | Download | only in cups

Lines Matching refs:http

11  * missing or damaged, see the license at "http://www.cups.org/".
80 cupsCancelJob2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
103 if (!http)
104 if ((http = _cupsConnect()) == NULL)
149 ippDelete(cupsDoRequest(http, request, "/jobs/"));
169 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
181 DEBUG_printf(("cupsCreateJob(http=%p, name=\"%s\", title=\"%s\", num_options=%d, options=%p)", (void *)http, name, title, num_options, (void *)options));
214 if ((info = cupsCopyDestInfo(http, data.dest)) == NULL)
221 status = cupsCreateDestJob(http, data.dest, info, &job_id, title, num_options, options);
247 cupsFinishDocument(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
255 ippDelete(cupsGetResponse(http, resource));
345 cupsGetDefault2(http_t *http) /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
364 if (!http)
365 if ((http = _cupsConnect()) == NULL)
382 if ((response = cupsDoRequest(http, request, "/")) != NULL)
438 cupsGetJobs2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
508 if (!http)
509 if ((http = _cupsConnect()) == NULL)
554 if ((response = cupsDoRequest(http, request, "/")) != NULL)
746 http_t *http, /* I - Connection to server */
753 DEBUG_printf(("cupsPrintFile2(http=%p, name=\"%s\", filename=\"%s\", title=\"%s\", num_options=%d, options=%p)", (void *)http, name, filename, title, num_options, (void *)options));
755 return (cupsPrintFiles2(http, name, 1, &filename, title, num_options,
796 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
817 DEBUG_printf(("cupsPrintFiles2(http=%p, name=\"%s\", num_files=%d, files=%p, title=\"%s\", num_options=%d, options=%p)", (void *)http, name, num_files, (void *)files, title, num_options, (void *)options));
834 if ((job_id = cupsCreateJob(http, name, title, num_options, options)) == 0)
868 status = cupsStartDocument(http, name, job_id, docname, format,
873 status = cupsWriteRequestData(http, buffer, (size_t)bytes);
877 if (status != HTTP_STATUS_CONTINUE || cupsFinishDocument(http, name) != IPP_STATUS_OK)
901 cupsCancelJob2(http, name, job_id, 0);
924 http_status_t /* O - HTTP status of request */
926 http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
936 http_status_t status; /* HTTP status */
970 status = cupsSendRequest(http, request, resource, CUPS_LENGTH_VARIABLE);