Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-mail/message-parser.h @ 764:f57c52738f90 HEAD
Renamed IBuffer and OBuffer to IStream and OStream which describes their
functionality better. I tried to keep the variable names and comments also
sensible.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 06 Dec 2002 03:09:22 +0200 |
parents | 1f0e7229ee58 |
children | 21ffcce83c70 |
line wrap: on
line diff
--- a/src/lib-mail/message-parser.h Fri Dec 06 00:37:33 2002 +0200 +++ b/src/lib-mail/message-parser.h Fri Dec 06 03:09:22 2002 +0200 @@ -44,15 +44,15 @@ void *context); /* func is called for each field in message header. */ -MessagePart *message_parse(Pool pool, IBuffer *inbuf, +MessagePart *message_parse(Pool pool, IStream *input, MessageHeaderFunc func, void *context); /* Call func for each field in message header. Fills the hdr_size. part can be NULL, just make sure your header function works with it. This function doesn't use data stack so your header function may save - values to it. When finished, inbuf will point to beginning of message + values to it. When finished, input will point to beginning of message body. */ -void message_parse_header(MessagePart *part, IBuffer *inbuf, +void message_parse_header(MessagePart *part, IStream *input, MessageSize *hdr_size, MessageHeaderFunc func, void *context);