1 |
|
2003-01-18 Sergey Poznyakoff |
2 |
|
|
3 |
|
* include/mailutils/stream.h (stream_set_strerror) |
4 |
|
(stream_sequential_read,stream_sequential_readline) |
5 |
|
(stream_sequential_write,stream_strerror): New functions. |
6 |
|
|
7 |
|
* include/mailutils/tls.h: Removed inclusion of gnutls.h |
8 |
|
(tls_stream_create): New declaration. |
9 |
|
(mu_check_tls_environment, mu_init_tls_libs) |
10 |
|
(mu_deinit_tls_libs): Added prototypes. |
11 |
|
|
12 |
|
* mailbox/file_stream.c (_file_strerror): New function. |
13 |
|
(file_stream_create): Register strerror function. |
14 |
|
(stdio_stream_create): Enable caching only if the |
15 |
|
file is not seekable and MU_STREAM_SEEKABLE bit is |
16 |
|
set in flags. Register different sets of |
17 |
|
(read,readline,write) handlers depending on the |
18 |
|
setting of MU_STREAM_SEEKABLE bit. |
19 |
|
|
20 |
|
* mailbox/include/stream0.h (struct _stream): Removed |
21 |
|
unused member `roff'. Added new member `offset' for |
22 |
|
support of sequential access functions. |
23 |
|
(_strerror): New method. Return stream-specific |
24 |
|
error description (if any). |
25 |
|
* mailbox/stream.c (stream_set_strerror): New function. |
26 |
|
(stream_sequential_read,stream_sequential_readline) |
27 |
|
(stream_sequential_write): New functions for sequential |
28 |
|
access to stream. |
29 |
|
(stream_strerror): New function. Return stream-specific |
30 |
|
error description (if any). |
31 |
|
|
32 |
|
* auth/tls.c: Implemented TLS streams. All tls-specific details |
33 |
|
are now hidden within this module. |
34 |
|
|
35 |
|
* examples/base64.c: Use sequential access for the output stream |
36 |
|
* examples/msg-send.c: Open stdio stream with MU_STREAM_SEEKABLE |
37 |
|
bit set. |
38 |
|
* mail.remote/mail.remote.c: Likewise. |
39 |
|
|
40 |
|
* imap4d/bye.c (imap4d_bye0): Use util_is_master() and util_bye() |
41 |
|
* imap4d/imap4d.c (imap4d_mainloop): Changed proto following |
42 |
|
that of pop3. |
43 |
|
* imap4d/imap4d.h (util_setio): Changed declaration. |
44 |
|
(util_is_ofile): Removed. |
45 |
|
(util_is_master): New. |
46 |
|
(imap4d_deinit_tls_server): Removed. |
47 |
|
* imap4d/signal.c (imap4d_signal): Use util_is_master(). |
48 |
|
* imap4d/starttls.c (imap4d_starttls): Flush output |
49 |
|
before initializing tls. |
50 |
|
* imap4d/util.c (ifile, ofile, sfile): Removed. |
51 |
|
(istream, ostream): New statics. |
52 |
|
(util_send_lowlevel): Removed |
53 |
|
(util_send, util_out, util_finish, imap4d_readline) |
54 |
|
(util_flush_output): Rewritten using streams. |
55 |
|
(util_setio): Changed argument types |
56 |
|
(util_is_ofile): Removed. |
57 |
|
(util_is_master): New function. |
58 |
|
(imap4d_init_tls_server): Rewritten using TLS streams. |
59 |
|
(imap4d_deinit_tls_server): Removed. |
60 |
|
(util_bye): New function. |
61 |
|
|
62 |
|
* pop3d/extra.c (ifile, ofile): Removed. |
63 |
|
(istream, ostream): New streams. |
64 |
|
(pop3d_setio,pop3d_init_tls_server): Rewritten using streams. |
65 |
|
(pop3d_flush_output,pop3d_is_master): Likewise. |
66 |
|
(pop3d_outf,pop3d_readline): Likewise. |
67 |
|
(pop3d_deinit_tls_server): Removed. |
68 |
|
(pop3d_bye): New function. |
69 |
|
* pop3d/pop3d.c (pop3d_mainloop): use pop3d_bye(). |
70 |
|
|
71 |
|
* mh/mh_format.c (builtin_references): Fixed typo. |
72 |
|
(builtin_package, builtin_package_string) |
73 |
|
(builtin_version): New functions. |
74 |
|
* mh/replcomps: Emit X-Mailer header. |
75 |
|
* mh/repl.c (format_str): Likewise. |
76 |
|
* mh/README: Updated |
77 |
|
|
78 |
2003-01-17 Wojciech Polak |
2003-01-17 Wojciech Polak |
79 |
|
|
80 |
* imap4d/capability.c: Small fix. |
* imap4d/capability.c: Small fix. |