/formats/json.h

http://github.com/nicolasff/webdis · 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. #include <jansson.h>
  4. #include <hiredis/hiredis.h>
  5. #include <hiredis/async.h>
  6. struct cmd;
  7. struct http_client;
  8. void
  9. json_reply(redisAsyncContext *c, void *r, void *privdata);
  10. char *
  11. json_string_output(json_t *j, const char *jsonp);
  12. struct cmd *
  13. json_ws_extract(struct http_client *c, const char *p, size_t sz);
  14. #endif