/formats/json.h
C++ Header | 20 lines | 14 code | 6 blank | 0 comment | 0 complexity | 07ebe1dbc369d58223dc78c9a31c9783 MD5 | raw file
1#ifndef JSON_H 2#define JSON_H 3 4#include <jansson.h> 5#include <hiredis/hiredis.h> 6#include <hiredis/async.h> 7 8struct cmd; 9struct http_client; 10 11void 12json_reply(redisAsyncContext *c, void *r, void *privdata); 13 14char * 15json_string_output(json_t *j, const char *jsonp); 16 17struct cmd * 18json_ws_extract(struct http_client *c, const char *p, size_t sz); 19 20#endif