From ef49fb417f582ec837cde6b551a0bf0cfafe3d4d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 3 Mar 2021 12:52:21 +0100 Subject: Use cJSON instead of the existing json library --- src/html.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/html.h') 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); -- cgit v1.2.3