1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-09-28 06:10:50 +00:00
falk-werner_webfuse-provider/lib/webfuse/core/json_util.h
2020-02-28 23:17:41 +01:00

27 lines
359 B
C

#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