X-Git-Url: http://gitweb/?a=blobdiff_plain;f=pkgutil.h;h=03409df1b76860ab13d9fc02942af110d388fdba;hb=25efd91b9eec7755e4296591f531c923209dd1fa;hp=98069002c203ccd51a480fcd94f271baece1ea23;hpb=9ac667e68d3e36eb99272eac57219002ee2318e6;p=pkgutils-cross.git diff --git a/pkgutil.h b/pkgutil.h index 9806900..03409df 100644 --- a/pkgutil.h +++ b/pkgutil.h @@ -70,7 +70,7 @@ protected: // Tar.gz pair pkg_open(const string& filename) const; - void pkg_install(const string& filename, const set& keep_list) const; + void pkg_install(const string& filename, const set& keep_list, const set& non_install_files) const; void pkg_footprint(string& filename) const; void ldconfig() const; @@ -91,6 +91,8 @@ class runtime_error_with_errno : public runtime_error { public: explicit runtime_error_with_errno(const string& msg) throw() : runtime_error(msg + string(": ") + strerror(errno)) {} + explicit runtime_error_with_errno(const string& msg, int e) throw() + : runtime_error(msg + string(": ") + strerror(e)) {} }; // Utility functions