X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnntp.h;h=de7627faf1ad357d7bc21d1337fdc0e1e9088d14;hp=8ddac271808855ca7dccd425a018a6155584be73;hb=56ac9bea51f338d488828ad1114d58b4a9542209;hpb=ac813896ca32d850febc2d95065ac4fa040f11f9 diff --git a/nntp/nntp.h b/nntp/nntp.h index 8ddac27..de7627f 100644 --- a/nntp/nntp.h +++ b/nntp/nntp.h @@ -13,9 +13,9 @@ #define _NNTP_H_ 1 #include -#include "mx.h" +#include -#include +extern mx_t const nntp_mx; #define NNTP_PORT 119 #define NNTP_SSL_PORT 563 @@ -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; @@ -102,21 +102,16 @@ 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 *); 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);