]> git.proxmox.com Git - mirror_lxcfs.git/blob - src/api_extensions.h
Merge pull request #438 from stgraber/master
[mirror_lxcfs.git] / src / api_extensions.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2
3 #ifndef __LXCFS_API_EXTENSIONS_H
4 #define __LXCFS_API_EXTENSIONS_H
5
6 #include <stdio.h>
7 #include <stdlib.h>
8
9 #include "config.h"
10
11 /*
12 * api_extensions is the list of all API extensions in the order they were
13 * added.
14 */
15 static char *api_extensions[] = {
16 "cgroups",
17 "sys_cpu_online",
18 "proc_cpuinfo",
19 "proc_diskstats",
20 "proc_loadavg",
21 "proc_meminfo",
22 "proc_stat",
23 "proc_swaps",
24 "proc_uptime",
25 "shared_pidns",
26 "cpuview_daemon",
27 "loadavg_daemon",
28 "pidfds",
29 };
30
31 static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
32
33 #endif /* __LXCFS_API_EXTENSIONS_H */