]>
Commit | Line | Data |
---|---|---|
db0463bf | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
580fe4df CB |
2 | |
3 | #ifndef __LXCFS_CGROUP_FUSE_H | |
4 | #define __LXCFS_CGROUP_FUSE_H | |
5 | ||
2c6e12b7 | 6 | #include "config.h" |
1f5596dd | 7 | |
1f5596dd CB |
8 | #include <stdio.h> |
9 | #include <stdlib.h> | |
10 | #include <sys/stat.h> | |
11 | #include <sys/types.h> | |
12 | #include <unistd.h> | |
13 | ||
bb4e3c8f | 14 | #include "lxcfs_fuse.h" |
0a5da718 | 15 | |
1f5596dd CB |
16 | #include "macro.h" |
17 | ||
b0a2dc08 CB |
18 | __visible extern int cg_getattr(const char *path, struct stat *sb); |
19 | __visible extern int cg_mkdir(const char *path, mode_t mode); | |
20 | __visible extern int cg_rmdir(const char *path); | |
21 | __visible extern int cg_chmod(const char *path, mode_t mode); | |
22 | __visible extern int cg_chown(const char *path, uid_t uid, gid_t gid); | |
23 | __visible extern int cg_open(const char *path, struct fuse_file_info *fi); | |
24 | __visible extern int cg_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi); | |
25 | __visible extern int cg_opendir(const char *path, struct fuse_file_info *fi); | |
26 | __visible extern int cg_release(const char *path, struct fuse_file_info *fi); | |
27 | __visible extern int cg_releasedir(const char *path, struct fuse_file_info *fi); | |
28 | __visible extern int cg_write(const char *path, const char *buf, size_t size, off_t offset, struct fuse_file_info *fi); | |
29 | __visible extern int cg_readdir(const char *path, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi); | |
30 | __visible extern int cg_access(const char *path, int mode); | |
580fe4df CB |
31 | |
32 | #endif /* __LXCFS_CGROUP_FUSE_H */ |