summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-interpret-imp.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-03-03 18:20:12 +0000
committerRobin Watts <robin.watts@artifex.com>2014-03-04 11:31:47 +0000
commit7c4844060a313833202b91767a878c1d87c4a61c (patch)
tree962e85400eedf04746389155b71f9b3ddd67b48a /source/pdf/pdf-interpret-imp.h
parentb83d0c4c1ad97c0ff68fcbfaf4aceb5fc7e4e642 (diff)
downloadmupdf-7c4844060a313833202b91767a878c1d87c4a61c.tar.xz
Add pdf_process for writing operator streams out to a buffer.
Using this, we can reconstruct pdf streams out of the process called. This will enable us to do filtering when used in combination with future commits.
Diffstat (limited to 'source/pdf/pdf-interpret-imp.h')
-rw-r--r--source/pdf/pdf-interpret-imp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-interpret-imp.h b/source/pdf/pdf-interpret-imp.h
index 2aafb830..09decb94 100644
--- a/source/pdf/pdf-interpret-imp.h
+++ b/source/pdf/pdf-interpret-imp.h
@@ -141,6 +141,7 @@ void pdf_process_stream(pdf_csi *csi, pdf_lexbuf *buf);
/* Functions to set up pdf_process structures */
pdf_process *pdf_process_run(pdf_process *process, fz_device *dev, const fz_matrix *ctm, const char *event, pdf_gstate *gstate, int nested);
+pdf_process *pdf_process_buffer(pdf_process *process, fz_context *ctx, fz_buffer *buffer);
/* Functions to actually use the pdf_process structures to process pages,
* annotations and glyphs */