/**
* nntp_active_fetch - Fetch list of all newsgroups from server
- * @param adata NNTP server
- * @param new Mark the groups as new
+ * @param adata NNTP server
+ * @param mark_new Mark the groups as new
* @retval 0 Success
* @retval -1 Failure
*/
-int nntp_active_fetch(struct NntpAccountData *adata, bool new)
+int nntp_active_fetch(struct NntpAccountData *adata, bool mark_new)
{
struct NntpMboxData tmp_mdata;
char msg[256];
return -1;
}
- if (new)
+ if (mark_new)
{
for (; i < adata->groups_num; i++)
{
struct NntpMboxData *mutt_newsgroup_unsubscribe(struct NntpAccountData *adata, char *group);
struct NntpMboxData *mutt_newsgroup_catchup(struct Mailbox *m, struct NntpAccountData *adata, char *group);
struct NntpMboxData *mutt_newsgroup_uncatchup(struct Mailbox *m, struct NntpAccountData *adata, char *group);
-int nntp_active_fetch(struct NntpAccountData *adata, bool new);
+int nntp_active_fetch(struct NntpAccountData *adata, bool mark_new);
int nntp_newsrc_update(struct NntpAccountData *adata);
int nntp_post(struct Mailbox *m, const char *msg);
int nntp_check_msgid(struct Context *ctx, const char *msgid);