2020-06-17 14:51:08 +00:00
|
|
|
#ifndef WFP_IMPL_OPERATION_READ_H
|
|
|
|
#define WFP_IMPL_OPERATION_READ_H
|
2019-03-26 22:04:53 +00:00
|
|
|
|
2020-06-16 21:39:45 +00:00
|
|
|
#include "webfuse_provider/impl/provider.h"
|
2019-03-26 22:04:53 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern void wfp_impl_respond_read(
|
|
|
|
struct wfp_request * request,
|
|
|
|
char const * data,
|
|
|
|
size_t length);
|
|
|
|
|
|
|
|
extern void wfp_impl_read(
|
|
|
|
struct wfp_impl_invokation_context * context,
|
|
|
|
json_t * params,
|
|
|
|
int id);
|
|
|
|
|
|
|
|
extern void wfp_impl_read_default(
|
|
|
|
struct wfp_request * request,
|
|
|
|
ino_t inode,
|
|
|
|
uint32_t handle,
|
|
|
|
size_t offset,
|
|
|
|
size_t length,
|
|
|
|
void * user_data);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|