blob: 5ce2809fb5e3d6f14299bf3b73406c3e438804d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef HTML_H
#define HTML_H
typedef struct cJSON cJSON;
typedef struct fallback fallback;
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
|