Skip to content

Commit

Permalink
lxccontainer: preserve ABI compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Oct 12, 2017
1 parent 70e1f27 commit dcf33b9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/lxc/lxccontainer.h
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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);
};

/*!
Expand Down

0 comments on commit dcf33b9

Please sign in to comment.