From: Enrico Scholz Date: Tue, 1 Feb 2005 02:06:46 +0000 (+0000) Subject: struct MatchVserverInfo: added; it allows to pass additional information about the... X-Git-Tag: IPSENTINEL_VERSION_0_12~155 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5165388cce6bc7f6ecddde459d17ca514ba3855;p=util-vserver.git 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 --- 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,