time_t check_time;
hash_t *newsgroups;
nntp_data_t *list; /* list of newsgroups */
+ nntp_data_t **tail;
CONNECTION *conn;
} nntp_server_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;
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);
void nntp_buffy (char* dst, ssize_t dstlen);
void nntp_expand_path (char *, ssize_t, ACCOUNT *);
void nntp_logout_all(void);
-const char *nntp_format_str(char *, ssize_t, char, const char *, const char *,
- const char *, const char *, anytype, format_flag);
void nntp_sync_sidebar (nntp_data_t*);
WHERE nntp_server_t *CurrentNewsSrv INITVAL (NULL);