struct MatchVserverInfo: added; it allows to pass additional information about the...
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 1 Feb 2005 02:06:46 +0000 (02:06 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Tue, 1 Feb 2005 02:06:46 +0000 (02:06 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1839 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib_internal/matchlist.h

index d06e7bd..f625f38 100644 (file)
@@ -47,13 +47,19 @@ struct MatchList
     size_t             buf_count;
 };
 
+struct MatchVserverInfo
+{
+    char const                 *name;
+    bool               use_pkgmgmt;
+};
+
 void           MatchList_init(struct MatchList *, char const *root,
                               size_t count) NONNULL((1,2));
 bool           MatchList_initByVserver(struct MatchList *,
-                                       char const *vserver,
+                                       struct MatchVserverInfo const *vserver,
                                        char const **res_appdir) NONNULL((1,2));
 void           MatchList_initManually(struct MatchList *list,
-                                      char const *vserver,
+                                      struct MatchVserverInfo const *vserver,
                                       char const *vdir,
                                       char const *exclude_file) NONNULL((1,3,4));
 void           MatchList_initRefserverList(struct MatchList **, size_t *cnt,