added lots of new code
[util-vserver.git] / util-vserver / vserver-start / configuration-init.c
index 74a7604..b3063ba 100644 (file)
 void
 Cfg_init(struct Configuration *cfg)
 {
+  struct vc_ctx_caps const     caps = {
+    .bcaps = 0,
+    .bmask = 0,
+    .ccaps = 0,
+    .cmask = 0
+  };
+
+  struct vc_ctx_flags const    flags = {
+    .flagword = 0,
+    .mask     = 0
+  };
+  
   Vector_init(&cfg->interfaces, sizeof(struct Interface));
   cfg->vdir      = 0;
   cfg->xid       = VC_DYNAMIC_XID;
   cfg->broadcast = 0;
+  cfg->ctx_caps  = caps;
+  cfg->ctx_flags = flags;
 }