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

struct json_object_s;
struct TransmissionSession;

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

int add_rss(const char *name, const 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