-#ifndef _LINUX_VIRTUAL_H
-#define _LINUX_VIRTUAL_H
-
-#define VC_CATEGORY(c) (((c) >> 24) & 0x3F)
-#define VC_COMMAND(c) (((c) >> 16) & 0xFF)
-#define VC_VERSION(c) ((c) & 0xFFF)
-
-#define VC_CMD(c,i,v) ((((VC_CAT_ ## c) & 0x3F) << 24) \
- | (((i) & 0xFF) << 16) | ((v) & 0xFFF))
-
-#define VC_CAT_VERSION 0
-#define VC_CAT_PROCESS 1
-#define VC_CAT_MEMORY 2
-#define VC_CAT_NETWORK 3
-
-#define VC_CAT_LIMITS 8
-#define VC_CAT_QUOTA 9
-
-#define VC_CAT_OTHER 62
-#define VC_CAT_COMPAT 63
-
-/* interface version */
-
- //#define VC_VERSION 0x00010000
-
-
-
-/* query version */
-
-#define VCMD_get_version VC_CMD(VERSION, 0, 0)
-
-
-/* compatibiliy vserver commands */
-
-#define VCMD_new_s_context VC_CMD(COMPAT, 1, 1)
-#define VCMD_set_ipv4root VC_CMD(COMPAT, 2, 3)
-
-/* compatibiliy vserver arguments */
-
-struct vcmd_new_s_context_v1 {
- uint32_t remove_cap;
- uint32_t flags;
-};
-
-#define NB_IPV4ROOT 16
-
-struct vcmd_set_ipv4root_v3 {
- /* number of pairs in id */
- uint32_t broadcast;
- struct {
- uint32_t ip;
- uint32_t mask;
- } ip_mask_pair[NB_IPV4ROOT];
-};
-
-
-#endif /* _LINUX_VIRTUAL_H */
+// $Id$ --*- c -*--
+
+// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; version 2 of the License.
+//
+// This program 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 General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+#ifndef H_UTIL_VSERVER_LIB_VIRTUAL_H
+#define H_UTIL_VSERVER_LIB_VIRTUAL_H
+
+#include <kernel/context.h>
+#include <kernel/legacy.h>
+#include <kernel/limit.h>
+#include <kernel/signal.h>
+#include <kernel/namespace.h>
+#include <kernel/inode.h>
+#include <kernel/sched.h>
+#include <kernel/dlimit.h>
+
+#endif // H_UTIL_VSERVER_LIB_VIRTUAL_H