1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-09-28 21:20:45 +00:00
falk-werner_webfuse-provider/lib/wsfs/adapter/impl/operations.h

56 lines
1.0 KiB
C
Raw Normal View History

#ifndef WSFS_ADAPTER_IMPL_OPERATIONS_H
#define WSFS_ADAPTER_IMPL_OPERATIONS_H
2019-01-27 02:45:03 +00:00
#include "wsfs/adapter/impl/fuse_wrapper.h"
2019-01-27 02:45:03 +00:00
#ifdef __cplusplus
extern "C" {
#endif
struct wsfs_impl_jsonrpc_server;
2019-02-02 08:37:18 +00:00
struct wsfs_impl_operations_context
{
struct wsfs_impl_jsonrpc_server * rpc;
double timeout;
};
extern void wsfs_impl_operation_lookup (
2019-02-02 10:45:38 +00:00
fuse_req_t req,
fuse_ino_t parent,
char const * name);
extern void wsfs_impl_operation_getattr (
2019-02-02 10:45:38 +00:00
fuse_req_t request,
fuse_ino_t inode,
struct fuse_file_info *file_info);
extern void wsfs_impl_operation_readdir (
2019-02-02 10:45:38 +00:00
fuse_req_t request,
fuse_ino_t inode,
size_t size,
off_t offset,
struct fuse_file_info *file_info);
extern void wsfs_impl_operation_open(
2019-02-02 10:45:38 +00:00
fuse_req_t request,
fuse_ino_t inode,
struct fuse_file_info * file_info);
extern void wsfs_impl_operation_close(
2019-02-02 10:45:38 +00:00
fuse_req_t request,
fuse_ino_t inode,
struct fuse_file_info * file_info);
extern void wsfs_impl_operation_read(
2019-02-02 10:45:38 +00:00
fuse_req_t request,
fuse_ino_t ino, size_t size, off_t off,
struct fuse_file_info *fi);
#ifdef __cplusplus
}
#endif
2019-01-29 22:11:46 +00:00
2019-01-27 02:45:03 +00:00
#endif