aboutsummaryrefslogtreecommitdiff
path: root/src/rss_html_common.h
blob: 472f090cc9df22467db5dab8182e6dfc7354612d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef RSS_HTML_COMMON_H
#define RSS_HTML_COMMON_H

struct json_value_s;
struct json_object_s;
struct json_string_s;

int write_plugin_json_to_file(const char *dir, const char *filename, const char *url, const char *updated, const char *start_after, const char *start_after_url, const char *plugin_name);
struct json_value_s* json_object_get_field_by_name(struct json_object_s *json_obj, const char *name);
void create_json_string(struct json_string_s *json_result, const char *str, int len);
void init_json_value_str(struct json_value_s *json_value, struct json_string_s *json_str);

#endif