summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/buffer.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-08-29 16:28:23 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-09-01 15:39:56 +0200
commitf86e9738deb6c6887fb51f2d11e8294cfc1b51cb (patch)
tree90604c5c291f3ff3334720fd1faefcdfd3906858 /include/mupdf/fitz/buffer.h
parent1000326aaaeab4ae17a8f93ef6d28e287fb120cc (diff)
downloadmupdf-f86e9738deb6c6887fb51f2d11e8294cfc1b51cb.tar.xz
Simplify PDF resource caching table handling.
Diffstat (limited to 'include/mupdf/fitz/buffer.h')
-rw-r--r--include/mupdf/fitz/buffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mupdf/fitz/buffer.h b/include/mupdf/fitz/buffer.h
index a616fa86..40e46e73 100644
--- a/include/mupdf/fitz/buffer.h
+++ b/include/mupdf/fitz/buffer.h
@@ -138,4 +138,9 @@ size_t fz_buffer_printf(fz_context *ctx, fz_buffer *buffer, const char *fmt, ...
size_t fz_buffer_vprintf(fz_context *ctx, fz_buffer *buffer, const char *fmt, va_list args);
void fz_buffer_print_pdf_string(fz_context *ctx, fz_buffer *buffer, const char *text);
+/*
+ fz_md5_buffer: create MD5 digest of buffer contents.
+*/
+void fz_md5_buffer(fz_context *ctx, fz_buffer *buffer, unsigned char digest[16]);
+
#endif