| 2891 | */ |
| 2892 | |
| 2893 | ipp_state_t /* O - Current state */ |
| 2894 | ippReadIO(void *src, /* I - Data source */ |
| 2895 | ipp_iocb_t cb, /* I - Read callback function */ |
| 2896 | int blocking, /* I - Use blocking IO? */ |
| 2897 | ipp_t *parent, /* I - Parent request, if any */ |
| 2898 | ipp_t *ipp) /* I - IPP data */ |
| 2899 | { |
| 2900 | DEBUG_printf(("ippReadIO(src=%p, cb=%p, blocking=%d, parent=%p, ipp=%p)", (void *)src, (void *)cb, blocking, (void *)parent, (void *)ipp)); |
| 2901 | |
| 2902 | if (!src || !ipp) |
| 2903 | return (IPP_STATE_ERROR); |
| 2904 | |
| 2905 | return (ipp_read_io(src, cb, blocking, parent, ipp, /*depth*/0)); |
| 2906 | } |
| 2907 | |
| 2908 | |
| 2909 | /* |