1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-09-29 09:20:45 +00:00
falk-werner_webfuse-provider/lib/webfuse/core/json_util.h

27 lines
359 B
C
Raw Normal View History

#ifndef WF_JSON_UTIL_H
#define WF_JSON_UTIL_H
#include <jansson.h>
#include "webfuse/core/status.h"
#ifdef __cplusplus
extern "C"
{
#endif
extern int
wf_impl_json_get_int(
json_t const * object,
char const * key,
int default_value);
extern wf_status
wf_impl_jsonrpc_get_status(
json_t const * error);
#ifdef __cplusplus
}
#endif
#endif