Better way to wrap pkg-config (IMNSHO)
[apps/madmutt.git] / nntp.h
diff --git a/nntp.h b/nntp.h
index 6d10aec..09472c5 100644 (file)
--- 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);