mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
27 lines
374 B
C
27 lines
374 B
C
#ifndef WF_IMPL_UTIL_JSON_UTIL_H
|
|
#define WF_IMPL_UTIL_JSON_UTIL_H
|
|
|
|
#include <jansson.h>
|
|
#include "webfuse/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
|