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.
37 lines
571 B
37 lines
571 B
4 years ago
|
#ifndef WF_IMPL_JSONRPC_RESPONSE_INTERN_H
|
||
|
#define WF_IMPL_JSONRPC_RESPONSE_INTERN_H
|
||
5 years ago
|
|
||
4 years ago
|
#include "webfuse/impl/jsonrpc/response.h"
|
||
5 years ago
|
|
||
|
#ifndef __cplusplus
|
||
|
#include <stddef.h>
|
||
|
#else
|
||
|
#include <cstddef>
|
||
|
using std::size_t;
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
5 years ago
|
struct wf_jsonrpc_response
|
||
5 years ago
|
{
|
||
|
json_t * result;
|
||
|
json_t * error;
|
||
|
int id;
|
||
|
};
|
||
|
|
||
4 years ago
|
extern void wf_impl_jsonrpc_response_init(
|
||
5 years ago
|
struct wf_jsonrpc_response * response,
|
||
5 years ago
|
json_t * message);
|
||
|
|
||
4 years ago
|
extern void wf_impl_jsonrpc_response_cleanup(
|
||
5 years ago
|
struct wf_jsonrpc_response * response);
|
||
5 years ago
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|