1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-27 20:44:10 +00:00
falk-werner_webfuse-provider/lib/jsonrpc/error.h

30 lines
388 B
C
Raw Normal View History

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