mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
30 lines
448 B
C
30 lines
448 B
C
#ifndef WF_IMPL_JSONRPC_ERROR_H
|
|
#define WF_IMPL_JSONRPC_ERROR_H
|
|
|
|
#include <jansson.h>
|
|
#include "webfuse/impl/jsonrpc/proxy_finished_fn.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern json_t *
|
|
wf_impl_jsonrpc_error(
|
|
int code,
|
|
char const * message);
|
|
|
|
extern void
|
|
wf_impl_jsonrpc_propate_error(
|
|
wf_jsonrpc_proxy_finished_fn * finised,
|
|
void * user_data,
|
|
int code,
|
|
char const * message);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|