MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cupsFinishDocument

Function cupsFinishDocument

cups/util.c:225–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 */
224
225ipp_status_t /* O - Status of document submission */
226cupsFinishDocument(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */
227 const char *name) /* I - Destination name */
228{
229 char resource[1024]; /* Printer resource */
230
231
232 snprintf(resource, sizeof(resource), "/printers/%s", name);
233
234 ippDelete(cupsGetResponse(http, resource));
235
236 return (cupsLastError());
237}
238
239
240/*

Callers 5

mainFunction · 0.85
cgiPrintCommandFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
cupsPrintFiles2Function · 0.85

Calls 3

ippDeleteFunction · 0.85
cupsGetResponseFunction · 0.85
cupsLastErrorFunction · 0.85

Tested by 1

mainFunction · 0.68