claws-mail/src/plugins/rssyl/rssyl_update_feed.h
Andrej Kacian a0cd163714 Replace verbosity boolean flag with a bitfield of flags.
Currently, there are two - whether or not to show error dialogs
and whether or not to show a feed rename dialog after subscribing.

We use same enum typedef for subscribing and fetching/updating
for consistency, the second flag only has effect in rssyl_subscribe().
2017-02-25 11:43:26 +01:00

19 lines
474 B
C

#ifndef __RSSYL_UPDATE_FEED
#define __RSSYL_UPDATE_FEED
#include <glib.h>
#include "rssyl.h"
void rssyl_fetch_feed(RFetchCtx *ctx, RSSylVerboseFlags verbose);
RFetchCtx *rssyl_prep_fetchctx_from_url(gchar *url);
RFetchCtx *rssyl_prep_fetchctx_from_item(RFolderItem *ritem);
gboolean rssyl_update_feed(RFolderItem *ritem, RSSylVerboseFlags verbose);
void rssyl_update_recursively(FolderItem *item);
void rssyl_update_all_feeds(void);
#endif /* __RSSYL_UPDATE_FEED */