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
420 B

#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