]>
git.proxmox.com Git - mirror_lxcfs.git/blob - src/proc_fuse.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
3 #ifndef __LXCFS_PROC_FUSE_H
4 #define __LXCFS_PROC_FUSE_H
8 #include "lxcfs_fuse.h"
13 #include <sys/types.h>
18 __visible
extern int proc_getattr(const char *path
, struct stat
*sb
);
19 __visible
extern int proc_readdir(const char *path
, void *buf
, fuse_fill_dir_t filler
, off_t offset
, struct fuse_file_info
*fi
);
20 __visible
extern int proc_open(const char *path
, struct fuse_file_info
*fi
);
21 __visible
extern int proc_access(const char *path
, int mask
);
22 __visible
extern int proc_read(const char *path
, char *buf
, size_t size
, off_t offset
, struct fuse_file_info
*fi
);
23 __visible
extern int proc_release(const char *path
, struct fuse_file_info
*fi
);
25 #endif /* __LXCFS_PROC_FUSE_H */