Stream improvements.
* include/mailutils/stream.h (mu_stream_printf): Mark as printf-like. * include/mailutils/sys/stream.h (_MU_STR_EVENT_CLOSE): New event. (_mu_stream) <event_cb_data>: New member. * libmailutils/stream.c (mu_stream_seek): Avoid unnecessary seeks in mu_buffer_none mode. Complements 906499db. (mu_stream_close): Mark _MU_STR_EVENT_CLOSE event.
Showing
3 changed files
with
10 additions
and
4 deletions
-
Please register or sign in to post a comment