Commit 59262374 by Stéphane Graber Committed by GitHub

Merge pull request #1856 from brauner/2017-10-12/preserve_abi_compatibility

lxccontainer: preserve ABI compatibility
parents d289046a dcf33b94
...@@ -280,17 +280,6 @@ struct lxc_container { ...@@ -280,17 +280,6 @@ struct lxc_container {
bool (*set_config_item)(struct lxc_container *c, const char *key, const char *value); 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. * \brief Delete the container.
* *
* \param c Container. * \param c Container.
...@@ -834,6 +823,17 @@ struct lxc_container { ...@@ -834,6 +823,17 @@ struct lxc_container {
* \return \c 0 on success, nonzero on failure. * \return \c 0 on success, nonzero on failure.
*/ */
int (*migrate)(struct lxc_container *c, unsigned int cmd, struct migrate_opts *opts, unsigned int size); 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);
}; };
/*! /*!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment