From: Christian Brauner Date: Thu, 12 Oct 2017 15:12:38 +0000 (+0200) Subject: lxccontainer: preserve ABI compatibility X-Git-Tag: lxc-3.0.0.beta1~215^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1856%2Fhead;p=thirdparty%2Flxc.git lxccontainer: preserve ABI compatibility Signed-off-by: Christian Brauner --- 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 @@ -279,17 +279,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. * @@ -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); }; /*!