aboutsummaryrefslogtreecommitdiff
path: root/src/html.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-15 09:28:35 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-15 09:28:46 +0200
commitfee89c4afdde4dacee51a763bc4d931320a9d69d (patch)
tree66a0accb86934e76ad245d6e57dc4a3fb6cfd63f /src/html.h
parent3757fe80b30801119bda41ab0445e915271129fc (diff)
Add all items starting at start-after to the download list in the data json file. This makes downloading more robust if title/url is changes for any item
Diffstat (limited to 'src/html.h')
-rw-r--r--src/html.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html.h b/src/html.h
index 327a39e..b604d48 100644
--- a/src/html.h
+++ b/src/html.h
@@ -10,6 +10,7 @@ typedef struct {
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);