| 2872 | */ |
| 2873 | |
| 2874 | ipp_state_t /* O - Current state */ |
| 2875 | ippReadFile(int fd, /* I - HTTP data */ |
| 2876 | ipp_t *ipp) /* I - IPP data */ |
| 2877 | { |
| 2878 | DEBUG_printf(("ippReadFile(fd=%d, ipp=%p)", fd, (void *)ipp)); |
| 2879 | |
| 2880 | if (!ipp) |
| 2881 | return (IPP_STATE_ERROR); |
| 2882 | |
| 2883 | return (ipp_read_io(&fd, (ipp_iocb_t)ipp_read_file, /*blocking*/1, /*parent*/NULL, ipp, /*depth*/0)); |
| 2884 | } |
| 2885 | |
| 2886 | |
| 2887 | /* |