]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.h
merged debian/sid branch from git.debian.org
[apt.git] / apt-pkg / contrib / fileutl.h
index 510b1c984c2921519d108bb64592063f2ea1bd2b..f8e30e6eab1762dc7e45894a47be07cff9725398 100644 (file)
@@ -149,6 +149,10 @@ class FileFd
    private:
    FileFdPrivate* d;
    bool OpenInternDescriptor(unsigned int const Mode, APT::Configuration::Compressor const &compressor);
+
+   // private helpers to set Fail flag and call _error->Error
+   bool FileFdErrno(const char* Function, const char* Description,...) __like_printf(3) __cold;
+   bool FileFdError(const char* Description,...) __like_printf(2) __cold;
 };
 
 bool RunScripts(const char *Cnf);