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

Function ippRead

cups/ipp.c:2853–2865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2851 */
2852
2853ipp_state_t /* O - Current state */
2854ippRead(http_t *http, /* I - HTTP connection */
2855 ipp_t *ipp) /* I - IPP data */
2856{
2857 DEBUG_printf(("ippRead(http=%p, ipp=%p), data_remaining=" CUPS_LLFMT, (void *)http, (void *)ipp, CUPS_LLCAST (http ? http->data_remaining : -1)));
2858
2859 if (!http | !ipp)
2860 return (IPP_STATE_ERROR);
2861
2862 DEBUG_printf(("2ippRead: http->state=%d, http->used=%d", http->state, http->used));
2863
2864 return (ipp_read_io(http, (ipp_iocb_t)ipp_read_http, http->blocking, /*parent*/NULL, ipp, /*depth*/0));
2865}
2866
2867
2868/*

Callers 4

process_httpFunction · 0.85
cupsdReadClientFunction · 0.85
cupsGetDevicesFunction · 0.85
cupsGetResponseFunction · 0.85

Calls 1

ipp_read_ioFunction · 0.85

Tested by

no test coverage detected