eof is true when no more chars are available, not when we've read the
authorbertrand <bertrand@helixcode.com>
Thu, 13 Jan 2000 22:53:06 +0000 (22:53 +0000)
committerBertrand Guiheneuf <bertrand@src.gnome.org>
Thu, 13 Jan 2000 22:53:06 +0000 (22:53 +0000)
commitd808a004db9690e2d3915311f8d2e50e72379f54
tree837e67188a4603be1be1fbe09397d1cbcd1e857f
parent5806361a9ccb5b6aa5371696a0d73c44510edaac
eof is true when no more chars are available, not when we've read the

2000-01-13  bertrand  <bertrand@helixcode.com>

* camel/providers/mbox/camel-mbox-parser.c (read_next_buffer_chunk):
eof is true when no more chars are available, not
when we've read the entire file.
(initialize_buffer): ditto.
(read_message_begining): documented.
(read_header): ditto.
(new_message_detected): ditto.
(advance_n_chars): ditto.
(goto_next_char): ditto.
(read_next_buffer_chunk): ditto.
(initialize_buffer): ditto.
(parser_free): ditto.
(new_parser): ditto.

More parser decoding and clean-ups.
Documented all the static routines properly.
camel/providers/mbox/camel-mbox-parser.c