The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1856
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Christian Brauner <[email protected]>
From dcf33b9471c180f485a1a9f114141508fd7ac5df Mon Sep 17 00:00:00 2001 From: Christian Brauner <[email protected]> Date: Thu, 12 Oct 2017 17:12:38 +0200 Subject: [PATCH] lxccontainer: preserve ABI compatibility Signed-off-by: Christian Brauner <[email protected]> --- src/lxc/lxccontainer.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lxc/lxccontainer.h b/src/lxc/lxccontainer.h index 85139115d..84bdab81c 100644 --- a/src/lxc/lxccontainer.h +++ b/src/lxc/lxccontainer.h @@ -280,17 +280,6 @@ struct lxc_container { bool (*set_config_item)(struct lxc_container *c, const char *key, const char *value); /*! - * \brief Set a key/value configuration option on a running container. - * - * \param c Container. - * \param key Name of option to set. - * \param value Value of \p name to set. - * - * \return \c true on success, else \c false. - */ - bool (*set_running_config_item)(struct lxc_container *c, const char *key, const char *value); - - /*! * \brief Delete the container. * * \param c Container. @@ -834,6 +823,17 @@ struct lxc_container { * \return \c 0 on success, nonzero on failure. */ int (*migrate)(struct lxc_container *c, unsigned int cmd, struct migrate_opts *opts, unsigned int size); + + /*! + * \brief Set a key/value configuration option on a running container. + * + * \param c Container. + * \param key Name of option to set. + * \param value Value of \p name to set. + * + * \return \c true on success, else \c false. + */ + bool (*set_running_config_item)(struct lxc_container *c, const char *key, const char *value); }; /*!
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
