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

Function ippReadIO

cups/ipp.c:2893–2906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2891 */
2892
2893ipp_state_t /* O - Current state */
2894ippReadIO(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/*

Callers 4

cupsdLoadJobFunction · 0.85
_ppdCacheCreateWithFileFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

ipp_read_ioFunction · 0.85

Tested by 1

mainFunction · 0.68