2019-03-26 14:35:33 +00:00
|
|
|
#ifndef WSFS_ADAPTER_IMPL_JSONRPC_REQUEST_H
|
|
|
|
#define WSFS_ADAPTER_IMPL_JSONRPC_REQUEST_H
|
2019-02-09 02:08:02 +00:00
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#else
|
|
|
|
#include <cstdarg>
|
|
|
|
#include <cstddef>
|
|
|
|
using std::size_t;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <jansson.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2019-03-26 14:35:33 +00:00
|
|
|
extern json_t * wsfs_impl_jsonrpc_request_create(
|
2019-02-09 02:08:02 +00:00
|
|
|
char const * method,
|
|
|
|
int id,
|
|
|
|
char const * param_info,
|
|
|
|
va_list args);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|