]>
git.proxmox.com Git - mirror_lxcfs.git/blob - sysfs_fuse.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
3 #ifndef __LXCFS_SYSFS_FUSE_H
4 #define __LXCFS_SYSFS_FUSE_H
6 extern int sys_getattr(const char *path
, struct stat
*sb
);
7 extern int sys_readdir(const char *path
, void *buf
, fuse_fill_dir_t filler
, off_t offset
,
8 struct fuse_file_info
*fi
);
9 extern int sys_release(const char *path
, struct fuse_file_info
*fi
);
10 extern int sys_releasedir(const char *path
, struct fuse_file_info
*fi
);
11 extern int sys_open(const char *path
, struct fuse_file_info
*fi
);
12 extern int sys_read(const char *path
, char *buf
, size_t size
, off_t offset
,
13 struct fuse_file_info
*fi
);
14 extern int sys_access(const char *path
, int mask
);
16 #endif /* __LXCFS_SYSFS_FUSE_H */