]>
Commit | Line | Data |
---|---|---|
237e200e | 1 | /* directory under which we mount the controllers - /run/lxcfs/controllers */ |
cc97d34c | 2 | #define BASEDIR RUNTIME_PATH "/lxcfs/controllers" |
237e200e SH |
3 | |
4 | extern int cg_write(const char *path, const char *buf, size_t size, off_t offset, | |
5 | struct fuse_file_info *fi); | |
6 | extern int cg_mkdir(const char *path, mode_t mode); | |
7 | extern int cg_chown(const char *path, uid_t uid, gid_t gid); | |
8 | extern int cg_rmdir(const char *path); | |
9 | extern int cg_chmod(const char *path, mode_t mode); | |
10 | extern int cg_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, | |
11 | struct fuse_file_info *fi); | |
12 | extern int cg_releasedir(const char *path, struct fuse_file_info *fi); | |
13 | extern int cg_release(const char *path, struct fuse_file_info *fi); | |
14 | extern int cg_read(const char *path, char *buf, size_t size, off_t offset, | |
15 | struct fuse_file_info *fi); | |
16 | extern int cg_opendir(const char *path, struct fuse_file_info *fi); | |
17 | extern int cg_getattr(const char *path, struct stat *sb); | |
18 | extern int cg_open(const char *path, struct fuse_file_info *fi); | |
bddbb106 | 19 | extern int cg_access(const char *path, int mode); |
237e200e SH |
20 | |
21 | extern int proc_getattr(const char *path, struct stat *sb); | |
22 | extern int proc_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, | |
23 | struct fuse_file_info *fi); | |
24 | extern int proc_release(const char *path, struct fuse_file_info *fi); | |
25 | extern int proc_open(const char *path, struct fuse_file_info *fi); | |
26 | extern int proc_read(const char *path, char *buf, size_t size, off_t offset, | |
27 | struct fuse_file_info *fi); | |
bddbb106 | 28 | extern int proc_access(const char *path, int mask); |