Commit e788178a by Cedric Le Goater Committed by Daniel Lezcano

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: 's avatarCedric Le Goater <clg@fr.ibm.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 0ae4f887
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 { ...@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment