| 2851 | */ |
| 2852 | |
| 2853 | ipp_state_t /* O - Current state */ |
| 2854 | ippRead(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 | /* |
no test coverage detected