You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
368 B
27 lines
368 B
4 years ago
|
#ifndef WFP_JSON_UTIL_H
|
||
|
#define WFP_JSON_UTIL_H
|
||
5 years ago
|
|
||
|
#include <jansson.h>
|
||
4 years ago
|
#include "webfuse_provider/status.h"
|
||
5 years ago
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
extern int
|
||
4 years ago
|
wfp_impl_json_get_int(
|
||
5 years ago
|
json_t const * object,
|
||
|
char const * key,
|
||
|
int default_value);
|
||
|
|
||
4 years ago
|
extern wfp_status
|
||
|
wfp_impl_jsonrpc_get_status(
|
||
5 years ago
|
json_t const * error);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|