You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
388 B

#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