mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
43 lines
732 B
C
43 lines
732 B
C
#ifndef WF_IMPL_JSONRPC_ERROR_H
|
|
#define WF_IMPL_JSONRPC_ERROR_H
|
|
|
|
#include "webfuse/impl/jsonrpc/proxy_finished_fn.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
struct wf_jsonrpc_error;
|
|
|
|
extern struct wf_jsonrpc_error *
|
|
wf_impl_jsonrpc_error(
|
|
int code,
|
|
char const * message);
|
|
|
|
extern void
|
|
wf_impl_jsonrpc_error_dispose(
|
|
struct wf_jsonrpc_error * error);
|
|
|
|
extern int
|
|
wf_impl_jsonrpc_error_code(
|
|
struct wf_jsonrpc_error const * error);
|
|
|
|
extern char const *
|
|
wf_impl_jsonrpc_error_message(
|
|
struct wf_jsonrpc_error const * error);
|
|
|
|
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
|