]> git.proxmox.com Git - mirror_lxc.git/blame - src/lxc/api_extensions.h
github: Update for main branch
[mirror_lxc.git] / src / lxc / api_extensions.h
CommitLineData
cc73685d 1/* SPDX-License-Identifier: LGPL-2.1+ */
aafa5f96
CB
2
3#ifndef __LXC_API_EXTENSIONS_H
4#define __LXC_API_EXTENSIONS_H
5
1160ce89
CB
6#include "config.h"
7
aafa5f96
CB
8#include <stdio.h>
9#include <stdlib.h>
10
11/*
12 * api_extensions is the list of all API extensions in the order they were
13 * added.
14
15 The following kind of changes come with a new extensions:
16
17 - New public functions
18 - New configuration key
19 - New valid values for a configuration key
20*/
21static char *api_extensions[] = {
22 "lxc_log",
23 "lxc_config_item_is_supported",
24 "console_log",
25 "reboot2",
26 "mount_injection",
27 "cgroup_relative",
4e5a9657 28 "mount_injection_file",
50d86993 29 "seccomp_allow_nesting",
331ef062 30#ifdef HAVE_DECL_SECCOMP_NOTIFY_FD
6cc93f0e 31 "seccomp_notify",
331ef062 32#endif /* HAVE_DECL_SECCOMP_NOTIFY_FD */
d4a7da46 33 "network_veth_routes",
c9f52382 34 "network_ipvlan",
6509154d 35 "network_l2proxy",
a2f9a670 36 "network_gateway_device_route",
bc999107 37 "network_phys_macvlan_mtu",
3e5c2e69 38 "network_veth_router",
e4dffa2f 39 "cgroup2_devices",
ad92bbcd 40 "cgroup2",
71d53a5c 41 "pidfd",
e9619d75 42 "cgroup_advanced_isolation",
d80ff1fa 43 "network_bridge_vlan",
b1248e47 44 "time_namespace",
c312db11 45 "seccomp_allow_deny_syntax",
f797f05e 46 "devpts_fd",
331ef062 47#ifdef HAVE_DECL_SECCOMP_NOTIFY_FD
21405769 48 "seccomp_notify_fd_active",
0dd2e321 49 "seccomp_proxy_send_notify_fd",
331ef062 50#endif /* HAVE_DECL_SECCOMP_NOTIFY_FD */
fa3a0034 51 "idmapped_mounts",
3df13023 52 "idmapped_mounts_v2",
09996a48 53 "core_scheduling",
d90d3007 54 "cgroup2_auto_mounting",
aafa5f96
CB
55};
56
57static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
58
59#endif /* __LXC_API_EXTENSIONS_H */