X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fvserver-start%2Fconfiguration.h;h=9c9bc124784fa61dc52693c620bd153c4e6f27e8;hb=3eb1b2279739d0f16391a3724a9897c686f030d3;hp=d32fc4226064c6fe2a79ccc1cea818bfff0ee7de;hpb=e3be43e3ee2157a63ea175463629c2433f595854;p=util-vserver.git diff --git a/util-vserver/vserver-start/configuration.h b/util-vserver/vserver-start/configuration.h index d32fc42..9c9bc12 100644 --- a/util-vserver/vserver-start/configuration.h +++ b/util-vserver/vserver-start/configuration.h @@ -19,17 +19,27 @@ #ifndef H_UTIL_VSERVER_VSERVER_START_CONFIGURATION_H #define H_UTIL_VSERVER_VSERVER_START_CONFIGURATION_H +#include #include #include #include +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);