blob: 250866072af40a428b237d44457f2907ea551f39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef RSS_H
#define RSS_H
typedef struct cJSON cJSON;
struct TransmissionSession;
typedef struct fallback fallback;
typedef struct {
char *title;
char *link;
cJSON *json_data;
} TrackedRss;
/* Modifies @rss_config_dir */
int add_rss(const char *name, char *url, char *rss_config_dir, const char *start_after, fallback *fall);
int sync_rss(TrackedRss *tracked_rss, struct TransmissionSession *transmission_session, char *rss_config_dir, fallback *fall);
#endif
|