streams: introduce setbuf hooks.
* include/mailutils/sys/stream.h (_mu_stream) <setbuf_hook>: New member. * libmailutils/stream/stream.c (mu_stream_set_buffer): Use setbuf_hook to decide whether the operation is allowed.
Showing
2 changed files
with
9 additions
and
0 deletions
-
Please register or sign in to post a comment