use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / vserver-start / configuration.h
index d32fc42..9c9bc12 100644 (file)
 #ifndef H_UTIL_VSERVER_VSERVER_START_CONFIGURATION_H
 #define H_UTIL_VSERVER_VSERVER_START_CONFIGURATION_H
 
+#include <lib/vserver.h>
 #include <ensc_vector/vector.h>
 #include <lib_internal/pathinfo.h>
 
 #include <stdbool.h>
 
+typedef struct Vector  InterfaceList;
+
 struct Configuration {
+    PathInfo           cfgdir;
+    char const *       vdir;
+    xid_t              xid;
     uint32_t           broadcast;
-    struct Vector      interfaces;
+    InterfaceList      interfaces;
+    char const *       nice;
+
+    struct vc_ctx_caps ctx_caps;
+    struct vc_ctx_flags        ctx_flags;
 };
 
-extern struct Configuration            cfg;
+  //extern struct Configuration                cfg;
 
 void           Cfg_init(struct Configuration *);
 bool           getConfiguration(struct Configuration *, PathInfo const *cfgdir);