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

Function flush_document_data

tools/ippeveprinter.c:2807–2818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2805 */
2806
2807static void
2808flush_document_data(
2809 ippeve_client_t *client) /* I - Client */
2810{
2811 char buffer[8192]; /* Read buffer */
2812
2813
2814 if (httpGetState(client->http) == HTTP_STATE_POST_RECV)
2815 {
2816 while (httpRead2(client->http, buffer, sizeof(buffer)) > 0);
2817 }
2818}
2819
2820
2821/*

Callers 7

finish_document_uriFunction · 0.85
ipp_create_jobFunction · 0.85
ipp_print_jobFunction · 0.85
ipp_print_uriFunction · 0.85
ipp_send_documentFunction · 0.85
ipp_send_uriFunction · 0.85
process_ippFunction · 0.85

Calls 2

httpGetStateFunction · 0.85
httpRead2Function · 0.85

Tested by

no test coverage detected