]>
Commit | Line | Data |
---|---|---|
db0463bf | 1 | /* SPDX-License-Identifier: LGPL-2.1+ */ |
1f5596dd CB |
2 | |
3 | #ifndef __LXCFS_PROC_LOADAVG_FUSE_H | |
4 | #define __LXCFS_PROC_LOADAVG_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 | ||
8044f626 CB |
18 | __visible extern pthread_t load_daemon(int load_use); |
19 | __visible extern int stop_load_daemon(pthread_t pid); | |
20 | ||
21 | extern int proc_loadavg_read(char *buf, size_t size, off_t offset, struct fuse_file_info *fi); | |
4ec5c9da | 22 | extern int calc_hash(const char *name); |
1f5596dd CB |
23 | |
24 | #endif /* __LXCFS_PROC_LOADAVG_FUSE_H */ | |
25 |