1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00
falk-werner_webfuse/lib/webfuse/impl/jsonrpc/response_intern.h
2020-06-28 19:43:08 +02:00

37 lines
571 B
C++

#ifndef WF_IMPL_JSONRPC_RESPONSE_INTERN_H
#define WF_IMPL_JSONRPC_RESPONSE_INTERN_H
#include "webfuse/impl/jsonrpc/response.h"
#ifndef __cplusplus
#include <stddef.h>
#else
#include <cstddef>
using std::size_t;
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct wf_jsonrpc_response
{
json_t * result;
json_t * error;
int id;
};
extern void wf_impl_jsonrpc_response_init(
struct wf_jsonrpc_response * response,
json_t * message);
extern void wf_impl_jsonrpc_response_cleanup(
struct wf_jsonrpc_response * response);
#ifdef __cplusplus
}
#endif
#endif