1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-09-29 14:20:44 +00:00
falk-werner_webfuse-provider/lib/wsfs/adapter/jsonrpc/method.h

25 lines
410 B
C
Raw Normal View History

2019-02-25 20:35:38 +00:00
#ifndef WSFS_ADAPTER_JSONRPC_METHOD_H
#define WSFS_ADAPTER_JSONRPC_METHOD_H
2019-02-09 02:08:02 +00:00
#ifndef __cplusplus
#include <stdbool.h>
#endif
#include <jansson.h>
#include "wsfs/status.h"
2019-02-09 02:08:02 +00:00
typedef bool wsfs_jsonrpc_method_invoke_fn(
void * user_data,
struct json_t const * method_call);
typedef void wsfs_jsonrpc_method_finished_fn(
void * user_data,
wsfs_status status,
struct json_t const * result);
#endif