From f5165388cce6bc7f6ecddde459d17ca514ba3855 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 1 Feb 2005 02:06:46 +0000 Subject: [PATCH] struct MatchVserverInfo: added; it allows to pass additional information about the vserver git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1839 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/lib_internal/matchlist.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/util-vserver/lib_internal/matchlist.h b/util-vserver/lib_internal/matchlist.h index d06e7bd..f625f38 100644 --- a/util-vserver/lib_internal/matchlist.h +++ b/util-vserver/lib_internal/matchlist.h @@ -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, -- 1.8.1.5