* mailbox/socket_stream.c: New file.
* include/mailutils/stream.h (mu_socket_stream_create) (mu_stream_shutdown, mu_stream_set_shutdown): New functions. * libproto/include/stream0.h (struct _mu_stream): New member `_shutdown'. * mailbox/file_stream.c (mu_stream_create): Bugfix. * mailbox/stream.c (mu_stream_shutdown) (mu_stream_set_shutdown): New functions. * mailbox/tcp.c (_tcp_shutdown): New function. (_tcp_stream_init): New function. (mu_tcp_stream_create_with_source_ip): Register _tcp_shutdown.
Showing
6 changed files
with
321 additions
and
9 deletions
mailbox/socket_stream.c
0 → 100644
-
Please register or sign in to post a comment