1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/lib/jsonrpc/impl/error.h
2020-02-29 02:32:03 +01:00

30 lines
420 B
C

#ifndef JSONRPC_IMPL_ERROR_H
#define JSONRPC_IMPL_ERROR_H
#include <jansson.h>
#include "jsonrpc/proxy_finished_fn.h"
#ifdef __cplusplus
extern "C"
{
#endif
extern json_t *
jsonrpc_impl_error(
int code,
char const * message);
extern void
jsonrpc_impl_propate_error(
jsonrpc_proxy_finished_fn * finised,
void * user_data,
int code,
char const * message);
#ifdef __cplusplus
}
#endif
#endif