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-07-16 22:36:12 +02:00

40 lines
658 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_error;
struct wf_json;
struct wf_jsonrpc_response
{
struct wf_json const * result;
struct wf_jsonrpc_error * error;
int id;
};
extern void wf_impl_jsonrpc_response_init(
struct wf_jsonrpc_response * response,
struct wf_json const * message);
extern void wf_impl_jsonrpc_response_cleanup(
struct wf_jsonrpc_response * response);
#ifdef __cplusplus
}
#endif
#endif