Lines Matching refs:http
10 * missing or damaged, see the license at "http://www.cups.org/".
35 cupsCancelDestJob(http_t *http, /* I - Connection to destination */
42 if ((info = cupsCopyDestInfo(http, dest)) != NULL)
54 ippDelete(cupsDoRequest(http, request, info->resource));
74 http_t *http, /* I - Connection to destination */
84 DEBUG_printf(("cupsCloseDestJob(http=%p, dest=%p(%s/%s), info=%p, job_id=%d)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info, job_id));
90 if (!http)
91 http = _cupsConnect();
97 if (!http || !dest || !info || job_id <= 0)
145 ippDelete(cupsDoRequest(http, request, info->resource));
165 http_t *http, /* I - Connection to destination */
178 DEBUG_printf(("cupsCreateDestJob(http=%p, dest=%p(%s/%s), info=%p, "
179 "job_id=%p, title=\"%s\", num_options=%d, options=%p)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info, (void *)job_id, title, num_options, (void *)options));
185 if (!http)
186 http = _cupsConnect();
195 if (!http || !dest || !info || !job_id)
231 response = cupsDoRequest(http, request, info->resource);
262 http_t *http, /* I - Connection to destination */
266 DEBUG_printf(("cupsFinishDestDocument(http=%p, dest=%p(%s/%s), info=%p)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info));
272 if (!http)
273 http = _cupsConnect();
279 if (!http || !dest || !info)
290 ippDelete(cupsGetResponse(http, info->resource));
314 http_t *http, /* I - Connection to destination */
325 http_status_t status; /* HTTP status */
328 DEBUG_printf(("cupsStartDestDocument(http=%p, dest=%p(%s/%s), info=%p, job_id=%d, docname=\"%s\", format=\"%s\", num_options=%d, options=%p, last_document=%d)", (void *)http, (void *)dest, dest ? dest->name : NULL, dest ? dest->instance : NULL, (void *)info, job_id, docname, format, num_options, (void *)options, last_document));
334 if (!http)
335 http = _cupsConnect();
341 if (!http || !dest || !info || job_id <= 0)
382 status = cupsSendRequest(http, request, info->resource, CUPS_LENGTH_VARIABLE);