Commit c6d08dd1 c6d08dd104c21f6ac268a337c2994bddc7c67011 by Alain Magloire

Update.

1 parent a90e3486
Showing 1 changed file with 39 additions and 0 deletions
1 2001-04-04 Alain Magloire
2
3 Introduction of the notion of filter_t object takes a stream and
4 perform some filtering on it. All the decoding streams will move
5 to this i.e. quoted-printable, base64 etc .. This scheme will also
6 permit users to add to the list new filters. Still work in progress.
7
8 * mailbox/Makefile.am : Add filter.c filter_rfc822.c.
9 * mailbox/body.c ( : When creating a floating body i.e creating
10 a temporary file, the stream was not "own" by the body_t.
11 (_body_get_fd): Likewised.
12 (_body_read):_ Likewised.
13 (_body_readline): Likewised.
14 (_body_write): Likewised.
15 (_body_truncate): Likewised.
16 (_body_size): Likewised.
17 (_body_flush): Likewised.
18
19 * mailbox/folder_imap.c (imap_literal_string): Check if the
20 callback.buffer is NULL.
21 (imap_body): Do no set the callback.type if "FIELDS" is part of the
22 string.
23
24 * mailbox/header.c: Remove the support for RFC822 it will be part
25 of the filter_t object.
26 * mailbox/mbx_mbox.c: Likewised.
27 * mailbox/mailbox.c (mailbox_size): Rename to mailbox_get_size().
28
29 * mailbox/stream.c (stream_is_seekable): New function.
30 (stream_set_property): New function.
31 (stream_get_property): New function.
32
33 * mailbox/trans_stream.c: Beautify.
34
35 * include/mailutils/filter.h: new file.
36
37 * doc/mailbox.texi: Updated.
38 More changes to come.
39
1 2001-03-20 Alain Magloire 40 2001-03-20 Alain Magloire
2 41
3 * mailbox/folder_imap.c (imap_readline) : If the server goes away 42 * mailbox/folder_imap.c (imap_readline) : If the server goes away
......