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.
35 lines
571 B
35 lines
571 B
5 years ago
|
#ifndef WF_JSONRPC_METHOD_H
|
||
|
#define WF_JSONRPC_METHOD_H
|
||
5 years ago
|
|
||
5 years ago
|
#include "webfuse/core/jsonrpc/method_invoke_fn.h"
|
||
5 years ago
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
struct wf_jsonrpc_method
|
||
|
{
|
||
|
struct wf_jsonrpc_method * next;
|
||
|
char * name;
|
||
|
wf_jsonrpc_method_invoke_fn * invoke;
|
||
|
void * user_data;
|
||
|
};
|
||
|
|
||
|
extern struct wf_jsonrpc_method *
|
||
5 years ago
|
wf_jsonrpc_method_create(
|
||
5 years ago
|
char const * method_name,
|
||
|
wf_jsonrpc_method_invoke_fn * invoke,
|
||
|
void * user_data);
|
||
|
|
||
|
extern void
|
||
5 years ago
|
wf_jsonrpc_method_dispose(
|
||
5 years ago
|
struct wf_jsonrpc_method * method);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#endif
|