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

typedef struct cJSON cJSON;
struct TransmissionSession;

typedef struct {
    char *title;
    char *link;
    cJSON *json_data;
} TrackedRss;

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