make taht shorter
[apps/madmutt.git] / nntp / nntp.h
index 3ad5925..a111b67 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _NNTP_H_
 #define _NNTP_H_ 1
 
-#include "mutt_socket.h"
+#include <lib-sys/mutt_socket.h>
 #include "mx.h"
 
 #include <time.h>
@@ -48,8 +48,8 @@ typedef struct {
   time_t newgroups_time;
   time_t check_time;
   HASH *newsgroups;
-  LIST *list;                   /* list of newsgroups */
-  LIST *tail;                   /* last entry of list */
+  string_list_t *list;                   /* list of newsgroups */
+  string_list_t *tail;                   /* last entry of list */
   CONNECTION *conn;
 } NNTP_SERVER;
 
@@ -119,6 +119,6 @@ const char *nntp_format_str (char *, size_t, char, const char *, const char *,
                              format_flag);
 void nntp_sync_sidebar (NNTP_DATA*);
 
-NNTP_SERVER *CurrentNewsSrv INITVAL (NULL);
+WHERE NNTP_SERVER *CurrentNewsSrv INITVAL (NULL);
 
 #endif /* _NNTP_H_ */