]> git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/api_extensions.h
Merge pull request #2950 from tomponline/tp-ipvlan
[mirror_lxc.git] / src / lxc / api_extensions.h
1 /* liblxcapi
2 *
3 * Copyright © 2018 Christian Brauner <christian.brauner@ubuntu.com>.
4 * Copyright © 2018 Canonical Ltd.
5 *
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,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
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
19 */
20
21 #ifndef __LXC_API_EXTENSIONS_H
22 #define __LXC_API_EXTENSIONS_H
23
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",
44 "mount_injection_file",
45 "seccomp_allow_nesting",
46 "seccomp_notify",
47 "network_veth_routes",
48 "network_ipvlan",
49 };
50
51 static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
52
53 #endif /* __LXC_API_EXTENSIONS_H */