aboutsummaryrefslogtreecommitdiff
path: root/src/rss.h
blob: a9cd65bdd8c9576dcc691cefa5929127814c653f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef RSS_H
#define RSS_H

typedef struct cJSON cJSON;
struct TransmissionSession;

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);
int sync_rss(TrackedRss *tracked_rss, struct TransmissionSession *transmission_session, char *rss_config_dir);

#endif