Lines Matching refs:callback
4 /* istream-callback can be used to implement an istream that returns data
5 by calling the specified callback. The callback needs to do:
8 (the callback can decide by itself what is too large). Return TRUE
15 the callback may need to do.
20 i_stream_create_callback(istream_callback_read_t *callback, void *context);
21 #define i_stream_create_callback(callback, context) \
22 i_stream_create_callback(1 ? (istream_callback_read_t *)callback : \
23 CALLBACK_TYPECHECK(callback, bool (*)(buffer_t *buf, typeof(context))), \
32 /* Returns the istream-callback's internal buffer. This buffer can be used to