X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp.h;h=09472c53375eb5447ba0294dac9252509c8b49fd;hp=6d10aecada9984f774c2fa925a855bfcab9468ac;hb=8ab1ab66eb1c4b95f9b2a5ed9c2b2cf1dfa74544;hpb=6a7c1f87b97c733b63c177d41a5aca3427e9521a diff --git a/nntp.h b/nntp.h index 6d10aec..09472c5 100644 --- a/nntp.h +++ b/nntp.h @@ -44,6 +44,7 @@ typedef struct nntp_server_t { time_t check_time; hash_t *newsgroups; nntp_data_t *list; /* list of newsgroups */ + nntp_data_t **tail; CONNECTION *conn; } nntp_server_t; @@ -64,8 +65,7 @@ struct nntp_data_t { int num; /* number of used entries */ int max; /* number of allocated entries */ int unread; - int firstMessage; - int lastMessage; + int first, last; int lastLoaded; int lastCached; unsigned subscribed:1; @@ -91,7 +91,6 @@ nntp_data_t *mutt_newsgroup_subscribe (nntp_server_t *, char *); nntp_data_t *mutt_newsgroup_unsubscribe (nntp_server_t *, char *); nntp_data_t *mutt_newsgroup_catchup (nntp_server_t *, char *); nntp_data_t *mutt_newsgroup_uncatchup (nntp_server_t *, char *); -void nntp_clear_cacheindex (nntp_server_t *); int mutt_newsrc_update (nntp_server_t *); int nntp_close_mailbox (CONTEXT *); int nntp_fetch_message (MESSAGE *, CONTEXT *, int);