more hash code simplifications.
[apps/madmutt.git] / nntp / nntp.h
index 90e2bf1..de7627f 100644 (file)
@@ -13,7 +13,7 @@
 #define _NNTP_H_ 1
 
 #include <lib-sys/mutt_socket.h>
-#include "mx.h"
+#include <lib-mx/mx.h>
 
 extern mx_t const nntp_mx;
 
@@ -47,7 +47,7 @@ typedef struct {
   time_t mtime;
   time_t newgroups_time;
   time_t check_time;
-  HASH *newsgroups;
+  hash_t *newsgroups;
   string_list_t *list;                   /* list of newsgroups */
   string_list_t *tail;                   /* last entry of list */
   CONNECTION *conn;
@@ -109,10 +109,9 @@ int nntp_check_msgid (CONTEXT *, const char *);
 int nntp_check_children (CONTEXT *, const char *);
 void nntp_buffy (char* dst, ssize_t dstlen);
 void nntp_expand_path (char *, ssize_t, ACCOUNT *);
-void nntp_logout_all ();
-const char *nntp_format_str (char *, ssize_t, char, const char *, const char *,
-                             const char *, const char *, unsigned long,
-                             format_flag);
+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*);
 
 WHERE NNTP_SERVER *CurrentNewsSrv INITVAL (NULL);