#ifndef __LXC_CONTAINER_H
#define __LXC_CONTAINER_H
-#include "lxclock.h"
#include "attach_options.h"
-#include <stdlib.h>
#include <malloc.h>
-
+#include <semaphore.h>
#include <stdbool.h>
+#include <stdlib.h>
#define LXC_CLONE_KEEPNAME (1 << 0) /*!< Do not edit the rootfs to change the hostname */
#define LXC_CLONE_COPYHOOKS (1 << 1) /*!< Copy all hooks into the container directory */
struct lxc_snapshot;
+struct lxc_lock;
+
/*!
* An LXC container.
*/
+++ /dev/null
-/*
- * lxc: linux Container library
- *
- * (C) Copyright IBM Corp. 2007, 2008
- *
- * Authors:
- * Daniel Lezcano <daniel.lezcano at free.fr>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include "../config.h"
-
-const char *lxc_version(void)
-{
- return PACKAGE_VERSION;
-}
#define LXC_VERSION_MICRO @LXC_VERSION_MICRO@
#define LXC_VERSION "@LXC_VERSION@"
-/*
- * Returns the version number of the library
- */
-extern const char *lxc_version(void);
-
#endif