simplifications.
[apps/madmutt.git] / nntp / nntp.h
index 3e89c39..4ce5635 100644 (file)
@@ -13,7 +13,9 @@
 #define _NNTP_H_ 1
 
 #include <lib-sys/mutt_socket.h>
-#include "mx.h"
+#include <lib-mx/mx.h>
+
+extern mx_t const nntp_mx;
 
 #define NNTP_PORT 119
 #define NNTP_SSL_PORT 563
@@ -100,11 +102,7 @@ NNTP_DATA *mutt_newsgroup_catchup (NNTP_SERVER *, char *);
 NNTP_DATA *mutt_newsgroup_uncatchup (NNTP_SERVER *, char *);
 void nntp_clear_cacheindex (NNTP_SERVER *);
 int mutt_newsrc_update (NNTP_SERVER *);
-int nntp_open_mailbox (CONTEXT *);
-int nntp_sync_mailbox (CONTEXT *, int, int*);
-int nntp_check_mailbox (CONTEXT *, int*, int);
 int nntp_close_mailbox (CONTEXT *);
-void nntp_fastclose_mailbox (CONTEXT *);
 int nntp_fetch_message (MESSAGE *, CONTEXT *, int);
 int nntp_post (const char *);
 int nntp_check_msgid (CONTEXT *, const char *);