aboutsummaryrefslogtreecommitdiff
path: root/src/html.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-03-03 12:52:21 +0100
committerdec05eba <dec05eba@protonmail.com>2021-03-03 12:52:21 +0100
commitef49fb417f582ec837cde6b551a0bf0cfafe3d4d (patch)
tree0f1230ff9286496a30bb25291e81c6e0157297b2 /src/html.h
parent3d5be6f0623e61ecfb1c8086263a615f6b13f1d7 (diff)
Use cJSON instead of the existing json library
Diffstat (limited to 'src/html.h')
-rw-r--r--src/html.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/html.h b/src/html.h
index 987f281..327a39e 100644
--- a/src/html.h
+++ b/src/html.h
@@ -1,11 +1,13 @@
#ifndef HTML_H
#define HTML_H
+typedef struct cJSON cJSON;
+
typedef struct {
char *plugin;
char *title;
char *link;
- struct json_object_s *json_data;
+ cJSON *json_data;
} TrackedHtml;
int add_html(const char *name, const char *url, char *html_config_dir, char *program_dir, const char *start_after);