From e788178af4da91e5bd152f01ac95e56e59118641 Mon Sep 17 00:00:00 2001 From: Cedric Le Goater Date: Mon, 24 Oct 2011 14:56:30 +0200 Subject: [PATCH] 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 Signed-off-by: Daniel Lezcano --- src/lxc/Makefile.am | 1 + src/lxc/arguments.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index 265467599..924cf1d5f 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -1,4 +1,5 @@ pkginclude_HEADERS = \ + arguments.h \ start.h \ console.h \ error.h \ diff --git a/src/lxc/arguments.h b/src/lxc/arguments.h index d5ccaefe3..6a2ffc683 100644 --- a/src/lxc/arguments.h +++ b/src/lxc/arguments.h @@ -61,6 +61,9 @@ struct lxc_arguments { /* remaining arguments */ char *const *argv; int argc; + + /* private arguments */ + void *data; }; #define LXC_COMMON_OPTIONS \