X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=nntp%2Fnntp.h;h=a111b67f0e2334dc6130fba2eead04f1d11ae1b8;hb=90c36546d834608e1ce96f4142ef9a1f6b405a7c;hp=f8a389f7c4e37f26c878665c8937c6e8496677df;hpb=b08f9bb863302b8a1e2c1ebb3d4f2be00f6bd759;p=apps%2Fmadmutt.git diff --git a/nntp/nntp.h b/nntp/nntp.h index f8a389f..a111b67 100644 --- a/nntp/nntp.h +++ b/nntp/nntp.h @@ -12,8 +12,8 @@ #ifndef _NNTP_H_ #define _NNTP_H_ 1 -#include "mutt_socket.h" -#include "mailbox.h" +#include +#include "mx.h" #include @@ -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; @@ -103,21 +103,22 @@ 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 nntp_check_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 *); +void nntp_buffy (char* dst, size_t dstlen); void nntp_expand_path (char *, size_t, ACCOUNT *); void nntp_logout_all (); const char *nntp_format_str (char *, size_t, char, const char *, const char *, const char *, const char *, unsigned long, format_flag); +void nntp_sync_sidebar (NNTP_DATA*); -NNTP_SERVER *CurrentNewsSrv INITVAL (NULL); +WHERE NNTP_SERVER *CurrentNewsSrv INITVAL (NULL); #endif /* _NNTP_H_ */