From 84169158f40cab05a9fea2cad25f8d33c71ade4f Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Graber?= Date: Thu, 31 Aug 2023 00:46:14 -0400 Subject: [PATCH] lxccontainer.h: Move new fields to the end MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- src/lxc/lxccontainer.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/lxc/lxccontainer.h b/src/lxc/lxccontainer.h index a87941d52..4c06183c9 100644 --- a/src/lxc/lxccontainer.h +++ b/src/lxc/lxccontainer.h @@ -94,12 +94,6 @@ struct lxc_container { */ struct lxc_conf *lxc_conf; - /*! - * \private - * SO_RCVTIMEO for LXC client_fd socket. - */ - int rcv_timeout; - /* public fields */ /*! Human-readable string representing last error */ char *error_string; @@ -873,17 +867,6 @@ struct lxc_container { */ int (*seccomp_notify_fd_active)(struct lxc_container *c); - /*! - * \brief Set response receive timeout for LXC commands - * - * \param c Container - * \param timeout Seconds to wait before returning false. - * (-1 to wait forever). - * - * \return \c true on success, else \c false. - */ - bool (*set_timeout)(struct lxc_container *c, int timeout); - /*! * \brief Retrieve a pidfd for the container's init process. * @@ -901,6 +884,23 @@ struct lxc_container { * \return Mount fd of the container's devpts instance. */ int (*devpts_fd)(struct lxc_container *c); + + /*! + * \private + * SO_RCVTIMEO for LXC client_fd socket. + */ + int rcv_timeout; + + /*! + * \brief Set response receive timeout for LXC commands + * + * \param c Container + * \param timeout Seconds to wait before returning false. + * (-1 to wait forever). + * + * \return \c true on success, else \c false. + */ + bool (*set_timeout)(struct lxc_container *c, int timeout); }; /*! -- 2.47.2