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

typedef struct cJSON cJSON;

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

/* Modifies @html_config_dir */
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