2020-04-04 18:23:50 +00:00
|
|
|
#ifndef WF_ADAPTER_IMPL_OPERATION_READDIR_H
|
|
|
|
#define WF_ADAPTER_IMPL_OPERATION_READDIR_H
|
|
|
|
|
2020-06-28 13:51:34 +00:00
|
|
|
#include "webfuse/impl/fuse_wrapper.h"
|
2020-04-04 18:23:50 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2020-07-16 17:30:18 +00:00
|
|
|
struct wf_jsonrpc_error;
|
2020-07-16 20:36:12 +00:00
|
|
|
struct wf_json;
|
2020-07-16 17:30:18 +00:00
|
|
|
|
2020-04-04 18:23:50 +00:00
|
|
|
struct wf_impl_operation_readdir_context
|
|
|
|
{
|
|
|
|
fuse_req_t request;
|
|
|
|
size_t size;
|
|
|
|
off_t offset;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void wf_impl_operation_readdir (
|
|
|
|
fuse_req_t request,
|
|
|
|
fuse_ino_t inode,
|
|
|
|
size_t size,
|
|
|
|
off_t offset,
|
|
|
|
struct fuse_file_info *file_info);
|
|
|
|
|
|
|
|
extern void wf_impl_operation_readdir_finished(
|
|
|
|
void * user_data,
|
2020-07-16 20:36:12 +00:00
|
|
|
struct wf_json const * result,
|
2020-07-16 17:30:18 +00:00
|
|
|
struct wf_jsonrpc_error const * error);
|
2020-04-04 18:23:50 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|