diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-09-01 08:57:20 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-09-01 08:57:20 +0800 |
commit | 3cf4f0d243e0c84b519fe027a3299a925e7075fb (patch) | |
tree | 666af08cf25c07ea8c2da1235c4ab512f30193ce /macros | |
parent | 65d4250703d68534210c57f4ed413f95b24390d3 (diff) | |
download | gsoc2013-evolution-3cf4f0d243e0c84b519fe027a3299a925e7075fb.tar gsoc2013-evolution-3cf4f0d243e0c84b519fe027a3299a925e7075fb.tar.gz gsoc2013-evolution-3cf4f0d243e0c84b519fe027a3299a925e7075fb.tar.bz2 gsoc2013-evolution-3cf4f0d243e0c84b519fe027a3299a925e7075fb.tar.lz gsoc2013-evolution-3cf4f0d243e0c84b519fe027a3299a925e7075fb.tar.xz gsoc2013-evolution-3cf4f0d243e0c84b519fe027a3299a925e7075fb.tar.zst gsoc2013-evolution-3cf4f0d243e0c84b519fe027a3299a925e7075fb.zip |
make this a bit more robust. try to create an empty .newsrc file for the
2000-08-31 Chris Toshok <toshok@helixcode.com>
* providers/nntp/camel-nntp-newsrc.c
(camel_nntp_newsrc_read_for_server): make this a bit more robust.
try to create an empty .newsrc file for the server if we can't
open it for reading. also, don't allocate everything until we've
opened the file.
* providers/nntp/camel-nntp-utils.c (get_OVER_headers): make use
of our overview field indices.
(camel_nntp_get_headers): only call get_OVER_headers if the
extension is present. warn if it's not - since get_HEAD_headers
needs work before it works.
* providers/nntp/camel-nntp-store.c
(camel_nntp_store_get_extensions): new function - query the server
for it's extensions.
(camel_nntp_store_get_overview_fmt): new function - query the
server for the overview format and build our table of the indices
we care about. support the "full" suffix on fields.
(nntp_store_connect): call camel_nntp_store_get_extensions and
camel_nntp_store_get_overview_fmt.
* providers/nntp/camel-nntp-store.h: add codes for extensions
found on news.mozilla.org. only one that we care about is OVER.
also, add CamelNNTPOverField and an enum of the overview fields
that we care about.
svn path=/trunk/; revision=5152
Diffstat (limited to 'macros')
0 files changed, 0 insertions, 0 deletions