mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
25 lines
396 B
C
25 lines
396 B
C
|
#ifndef _WSFS_JSONRPC_METHOD_H
|
||
|
#define _WSFS_JSONRPC_METHOD_H
|
||
|
|
||
|
#ifndef __cplusplus
|
||
|
#include <stdbool.h>
|
||
|
#endif
|
||
|
|
||
|
#include <jansson.h>
|
||
|
#include "wsfs/status.h"
|
||
|
|
||
|
|
||
|
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
|