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
442 B
30 lines
442 B
#ifndef WFP_JSONRPC_ERROR_H
|
|
#define WFP_JSONRPC_ERROR_H
|
|
|
|
#include <jansson.h>
|
|
#include "webfuse_provider/impl/jsonrpc/proxy_finished_fn.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern json_t *
|
|
wfp_jsonrpc_error(
|
|
int code,
|
|
char const * message);
|
|
|
|
extern void
|
|
wfp_jsonrpc_propate_error(
|
|
wfp_jsonrpc_proxy_finished_fn * finised,
|
|
void * user_data,
|
|
int code,
|
|
char const * message);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|