2020-06-28 17:43:08 +00:00
|
|
|
#ifndef WF_IMPL_JSONRPC_ERROR_H
|
|
|
|
#define WF_IMPL_JSONRPC_ERROR_H
|
2020-02-28 22:17:41 +00:00
|
|
|
|
|
|
|
#include <jansson.h>
|
2020-06-28 17:43:08 +00:00
|
|
|
#include "webfuse/impl/jsonrpc/proxy_finished_fn.h"
|
2020-02-28 22:17:41 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern json_t *
|
2020-06-28 17:43:08 +00:00
|
|
|
wf_impl_jsonrpc_error(
|
2020-02-28 22:17:41 +00:00
|
|
|
int code,
|
|
|
|
char const * message);
|
|
|
|
|
|
|
|
extern void
|
2020-06-28 17:43:08 +00:00
|
|
|
wf_impl_jsonrpc_propate_error(
|
2020-03-01 15:55:58 +00:00
|
|
|
wf_jsonrpc_proxy_finished_fn * finised,
|
2020-02-28 22:17:41 +00:00
|
|
|
void * user_data,
|
|
|
|
int code,
|
|
|
|
char const * message);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|