]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxccontainer: preserve ABI compatibility 1856/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 12 Oct 2017 15:12:38 +0000 (17:12 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 12 Oct 2017 15:12:38 +0000 (17:12 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/lxccontainer.h

index 85139115d001e4f47550a397d00600e8f80f2504..84bdab81c64b860a025a4416a657ce5f27e84143 100644 (file)
@@ -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);
 };
 
 /*!