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 <c...@fr.ibm.com> --- src/lxc/Makefile.am | 1 + src/lxc/arguments.h | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index d2c4720..92698a7 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 a2c35c4..ff52501 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 \ -- 1.7.4.4 ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel