]>
git.proxmox.com Git - mirror_lxcfs.git/blob - src/sysfs_fuse.h
c11d91a961f04ddc84fb6154b9cda120d2133417
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
3 #ifndef __LXCFS_SYSFS_FUSE_H
4 #define __LXCFS_SYSFS_FUSE_H
10 #ifndef FUSE_USE_VERSION
11 #define FUSE_USE_VERSION 26
14 #define _FILE_OFFSET_BITS 64
20 #include <sys/types.h>
26 __visible
extern int sys_getattr(const char *path
, struct stat
*sb
);
27 __visible
extern int sys_readdir(const char *path
, void *buf
, fuse_fill_dir_t filler
, off_t offset
, struct fuse_file_info
*fi
);
28 __visible
extern int sys_release(const char *path
, struct fuse_file_info
*fi
);
29 __visible
extern int sys_releasedir(const char *path
, struct fuse_file_info
*fi
);
30 __visible
extern int sys_open(const char *path
, struct fuse_file_info
*fi
);
31 __visible
extern int sys_read(const char *path
, char *buf
, size_t size
, off_t offset
, struct fuse_file_info
*fi
);
32 __visible
extern int sys_access(const char *path
, int mask
);
34 #endif /* __LXCFS_SYSFS_FUSE_H */