added vc_createSkeleton() plus defines
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 18 Feb 2004 04:50:30 +0000 (04:50 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 18 Feb 2004 04:50:30 +0000 (04:50 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@945 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/vserver.h

index a3bf42b..c4095ef 100644 (file)
@@ -273,6 +273,14 @@ extern "C" {
       freed by the caller. */
   char *       vc_getVserverByCtx(xid_t ctx, /*@null@*/vcCfgStyle *style,
                                   /*@null@*/char const *revdir);
+
+#define vcSKEL_INTERFACES      1u
+#define vcSKEL_PKGMGMT         2u
+#define vcSKEL_FILESYSTEM      4u
+  
+  /** Create a basic configuration skeleton for a vserver plus toplevel
+   *  directories for pkgmanagemt and filesystem (when requested). */
+  int          vc_createSkeleton(char const *id, vcCfgStyle style, int flags);
   
 #ifdef __cplusplus
 }