]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/crc-16.h
Compare size before data when ordering cache bucket entries
[apt.git] / apt-pkg / contrib / crc-16.h
index f30678bac6c6d6efd2f93c30c2861744e28a5ae2..6cc3556c6f8081d28c36bd56a23d38d11dda8363 100644 (file)
 #ifndef APTPKG_CRC16_H
 #define APTPKG_CRC16_H
 
+#include <apt-pkg/macros.h>
+
 #define INIT_FCS  0xffff
+unsigned short AddCRC16Byte(unsigned short fcs, unsigned char byte) APT_CONST;
 unsigned short AddCRC16(unsigned short fcs, void const *buf,
-                       unsigned long len);
+                       unsigned long long len) APT_PURE;
 
 #endif