]>
Commit | Line | Data |
---|---|---|
aafa5f96 CB |
1 | /* liblxcapi |
2 | * | |
3 | * Copyright © 2018 Christian Brauner <christian.brauner@ubuntu.com>. | |
4 | * Copyright © 2018 Canonical Ltd. | |
5 | * | |
7fd02ed7 CB |
6 | * This library is free software; you can redistribute it and/or |
7 | * modify it under the terms of the GNU Lesser General Public | |
8 | * License as published by the Free Software Foundation; either | |
9 | * version 2.1 of the License, or (at your option) any later version. | |
10 | ||
11 | * This library is distributed in the hope that it will be useful, | |
aafa5f96 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
7fd02ed7 CB |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 | * Lesser General Public License for more details. | |
15 | ||
16 | * You should have received a copy of the GNU Lesser General Public License | |
17 | * along with this library; if not, write to the Free Software Foundation, | |
18 | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
aafa5f96 CB |
19 | */ |
20 | ||
21 | #ifndef __LXC_API_EXTENSIONS_H | |
22 | #define __LXC_API_EXTENSIONS_H | |
23 | ||
aafa5f96 CB |
24 | #include <stdio.h> |
25 | #include <stdlib.h> | |
26 | ||
27 | /* | |
28 | * api_extensions is the list of all API extensions in the order they were | |
29 | * added. | |
30 | ||
31 | The following kind of changes come with a new extensions: | |
32 | ||
33 | - New public functions | |
34 | - New configuration key | |
35 | - New valid values for a configuration key | |
36 | */ | |
37 | static char *api_extensions[] = { | |
38 | "lxc_log", | |
39 | "lxc_config_item_is_supported", | |
40 | "console_log", | |
41 | "reboot2", | |
42 | "mount_injection", | |
43 | "cgroup_relative", | |
4e5a9657 | 44 | "mount_injection_file", |
50d86993 | 45 | "seccomp_allow_nesting", |
6cc93f0e | 46 | "seccomp_notify", |
d4a7da46 | 47 | "network_veth_routes", |
c9f52382 | 48 | "network_ipvlan", |
6509154d | 49 | "network_l2proxy", |
a2f9a670 | 50 | "network_gateway_device_route", |
bc999107 | 51 | "network_phys_macvlan_mtu", |
3e5c2e69 | 52 | "network_veth_router", |
aafa5f96 CB |
53 | }; |
54 | ||
55 | static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions); | |
56 | ||
57 | #endif /* __LXC_API_EXTENSIONS_H */ |