diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-03-03 12:52:21 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-03-03 12:52:21 +0100 |
commit | ef49fb417f582ec837cde6b551a0bf0cfafe3d4d (patch) | |
tree | 0f1230ff9286496a30bb25291e81c6e0157297b2 /src/html.h | |
parent | 3d5be6f0623e61ecfb1c8086263a615f6b13f1d7 (diff) |
Use cJSON instead of the existing json library
Diffstat (limited to 'src/html.h')
-rw-r--r-- | src/html.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |