X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fsrc%2Fvutil.h;h=276858fd4a33eb36153e5fd7998b9f0cdf1da7d1;hb=a917f24ef7b003dcef54a3db2644cf9cb4bc2db2;hp=ae00f4b25852bed1ab8467beb3b41a0ac7b0d711;hpb=6d518e5b49c60ce1e0a3ecea3f640ec670166928;p=util-vserver.git diff --git a/util-vserver/src/vutil.h b/util-vserver/src/vutil.h index ae00f4b..276858f 100644 --- a/util-vserver/src/vutil.h +++ b/util-vserver/src/vutil.h @@ -21,6 +21,8 @@ #ifndef VUTIL_H #define VUTIL_H +#include "vserver.hh" + #include #include #include @@ -42,7 +44,7 @@ extern bool testmode; #endif -FILE *vutil_execdistcmd (const char *, const string &, const char *); +FILE *vutil_execdistcmd (const char *, Vserver const &, const char *); extern const char K_DUMPFILES[]; extern const char K_UNIFILES[]; extern const char K_PKGVERSION[]; @@ -93,7 +95,7 @@ public: return ret; } // Load the file member of the package, but exclude configuration file - void loadfiles(const string &ref, set &files) + void loadfiles(Vserver const &ref, set &files) { if (debug > 2) cout << "Loading files for package " << name << endl; string namever = name + '-' + version;