mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 12:37:35 +00:00
extend the struct lxc_arguments
This patch adds a private argument to extend the struct lxc_arguments. This is useful to develop custom lxc commands outside mainline lxc. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
parent
0ae4f887a4
commit
e788178af4
@ -1,4 +1,5 @@
|
|||||||
pkginclude_HEADERS = \
|
pkginclude_HEADERS = \
|
||||||
|
arguments.h \
|
||||||
start.h \
|
start.h \
|
||||||
console.h \
|
console.h \
|
||||||
error.h \
|
error.h \
|
||||||
|
@ -61,6 +61,9 @@ struct lxc_arguments {
|
|||||||
/* remaining arguments */
|
/* remaining arguments */
|
||||||
char *const *argv;
|
char *const *argv;
|
||||||
int argc;
|
int argc;
|
||||||
|
|
||||||
|
/* private arguments */
|
||||||
|
void *data;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LXC_COMMON_OPTIONS \
|
#define LXC_COMMON_OPTIONS \
|
||||||
|
Loading…
Reference in New Issue
Block a user