46 VFS_AIO_WRITE |
53 VFS_AIO_WRITE |
47 }; |
54 }; |
48 typedef enum VFSAioOp VFSAioOp; |
55 typedef enum VFSAioOp VFSAioOp; |
49 |
56 |
50 int vfs_init(void); |
57 int vfs_init(void); |
|
58 VfsType* vfs_get_type(scstr_t vfs_class); |
|
59 |
|
60 void* vfs_init_backend(ServerConfiguration *cfg, pool_handle_t *pool, VfsType *vfs_class, WSConfigNode *config, int *error); |
51 |
61 |
52 typedef int(*vfs_op_f)(VFSContext *, const char *); |
62 typedef int(*vfs_op_f)(VFSContext *, const char *); |
53 typedef int(*sys_op_f)(VFSContext *, const char *, SysACL *); |
63 typedef int(*sys_op_f)(VFSContext *, const char *, SysACL *); |
54 int vfs_path_op(VFSContext *ctx, const char *path, vfs_op_f op, uint32_t access); |
64 int vfs_path_op(VFSContext *ctx, const char *path, vfs_op_f op, uint32_t access); |
55 |
65 |