summaryrefslogtreecommitdiff
path: root/include/fitz/stm_crypt.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-06-14 12:54:27 +0200
committerTor Andersson <tor@ghostscript.com>2005-06-14 12:54:27 +0200
commitbcfd22f04c7b09aad8c58375eba2173ec6fc92d6 (patch)
treeb90e12e82a7be6ebd2fd6ea15613c58c4b97d3b1 /include/fitz/stm_crypt.h
parent326f45d1621b2b64a07867c7048ec05124cc3d6f (diff)
downloadmupdf-bcfd22f04c7b09aad8c58375eba2173ec6fc92d6.tar.xz
add crc-32 function
Diffstat (limited to 'include/fitz/stm_crypt.h')
-rw-r--r--include/fitz/stm_crypt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fitz/stm_crypt.h b/include/fitz/stm_crypt.h
index 15191caa..4e0bc725 100644
--- a/include/fitz/stm_crypt.h
+++ b/include/fitz/stm_crypt.h
@@ -4,6 +4,10 @@
* For further encapsulation in filters, or not.
*/
+/* crc-32 checksum */
+
+unsigned long fz_crc32(unsigned long crc, unsigned char *buf, int len);
+
/* md5 digests */
typedef struct fz_md5_s fz_md5;