aboutsummaryrefslogtreecommitdiff
path: root/src/html.h
blob: 327a39e7035dd6b7b2d39ef1c87fafffc3923e82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef HTML_H
#define HTML_H

typedef struct cJSON cJSON;

typedef struct {
    char *plugin;
    char *title;
    char *link;
    cJSON *json_data;
} TrackedHtml;

int add_html(const char *name, const char *url, char *html_config_dir, char *program_dir, const char *start_after);
int sync_html(TrackedHtml *tracked_html, char *program_dir, const char *download_dir, char *html_config_dir);

#endif