]>
git.proxmox.com Git - mirror_lxcfs.git/blob - src/proc_loadavg.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
3 #ifndef __LXCFS_PROC_LOADAVG_FUSE_H
4 #define __LXCFS_PROC_LOADAVG_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 extern int proc_loadavg_read(char *buf
, size_t size
, off_t offset
,
27 struct fuse_file_info
*fi
);
28 extern pthread_t
load_daemon(int load_use
);
29 extern int stop_load_daemon(pthread_t pid
);
30 extern int calc_hash(const char *name
);
32 #endif /* __LXCFS_PROC_LOADAVG_FUSE_H */