mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
27 lines
368 B
C
27 lines
368 B
C
#ifndef WFP_JSON_UTIL_H
|
|
#define WFP_JSON_UTIL_H
|
|
|
|
#include <jansson.h>
|
|
#include "webfuse_provider/status.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern int
|
|
wfp_impl_json_get_int(
|
|
json_t const * object,
|
|
char const * key,
|
|
int default_value);
|
|
|
|
extern wfp_status
|
|
wfp_impl_jsonrpc_get_status(
|
|
json_t const * error);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|