src/server/daemon/vfs.h

changeset 415
d938228c382e
parent 366
47bc686fafe4
child 450
d7b276de183b
equal deleted inserted replaced
414:99a34860c105 415:d938228c382e
30 #define VFS_H 30 #define VFS_H
31 31
32 #include "../public/vfs.h" 32 #include "../public/vfs.h"
33 #include "acl.h" 33 #include "acl.h"
34 34
35 #include <ucx/string.h> 35 #include <cx/string.h>
36 36
37 #ifdef __cplusplus 37 #ifdef __cplusplus
38 extern "C" { 38 extern "C" {
39 #endif 39 #endif
40 40
53 VFS_AIO_WRITE 53 VFS_AIO_WRITE
54 }; 54 };
55 typedef enum VFSAioOp VFSAioOp; 55 typedef enum VFSAioOp VFSAioOp;
56 56
57 int vfs_init(void); 57 int vfs_init(void);
58 VfsType* vfs_get_type(scstr_t vfs_class); 58 VfsType* vfs_get_type(cxstring vfs_class);
59 59
60 void* vfs_init_backend(ServerConfiguration *cfg, pool_handle_t *pool, VfsType *vfs_class, WSConfigNode *config, int *error); 60 void* vfs_init_backend(ServerConfiguration *cfg, pool_handle_t *pool, VfsType *vfs_class, WSConfigNode *config, int *error);
61 61
62 typedef int(*vfs_op_f)(VFSContext *, const char *); 62 typedef int(*vfs_op_f)(VFSContext *, const char *);
63 typedef int(*sys_op_f)(VFSContext *, const char *, SysACL *); 63 typedef int(*sys_op_f)(VFSContext *, const char *, SysACL *);

mercurial