mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
* moves implementation to impl subdirectory * adds prefix _impl to implementation symbols * removes double compilation for shared and static libraries * fixes include guards * fixes usage of extern "C"
32 lines
502 B
C
32 lines
502 B
C
#ifndef WSFS_ADAPTER_IMPL_JSONRPC_METHOD_H
|
|
#define WSFS_ADAPTER_IMPL_JSONRPC_METHOD_H
|
|
|
|
#ifndef __cplusplus
|
|
#include <stdbool.h>
|
|
#endif
|
|
|
|
#include <jansson.h>
|
|
#include "wsfs/core/status.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
typedef bool wsfs_impl_jsonrpc_method_invoke_fn(
|
|
void * user_data,
|
|
struct json_t const * method_call);
|
|
|
|
typedef void wsfs_impl_jsonrpc_method_finished_fn(
|
|
void * user_data,
|
|
wsfs_status status,
|
|
struct json_t const * result);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|