]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/hashsum_template.h
Russian program translation (Yuri Kozlov) (Closes: #679599)
[apt.git] / apt-pkg / contrib / hashsum_template.h
index 6301ac9d0aca324c967a77ac62767ce4c36bfb5b..9bf160b2be527b92e09d33b55c4b51906801af59 100644 (file)
 #ifndef APTPKG_HASHSUM_TEMPLATE_H
 #define APTPKG_HASHSUM_TEMPLATE_H
 
+#include <apt-pkg/fileutl.h>
+
 #include <string>
 #include <cstring>
 #include <algorithm>
 #include <stdint.h>
 
+#include <apt-pkg/strutl.h>
+
 #ifndef APT_8_CLEANER_HEADERS
 using std::string;
 using std::min;
@@ -108,6 +112,7 @@ class SummationImplementation
    { return Add((const unsigned char *)Beg, End - Beg); };
 
    bool AddFD(int Fd, unsigned long long Size = 0);
+   bool AddFD(FileFd &Fd, unsigned long long Size = 0);
 };
 
 #endif