]> git.proxmox.com Git - mirror_lxc.git/blame - src/lxc/api_extensions.h
network: Fixes bug in macvlan mode selection
[mirror_lxc.git] / src / lxc / api_extensions.h
CommitLineData
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*/
37static 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",
aafa5f96
CB
47};
48
49static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
50
51#endif /* __LXC_API_EXTENSIONS_H */