summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mupdf/fitz/filter.h')
-rw-r--r--include/mupdf/fitz/filter.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mupdf/fitz/filter.h b/include/mupdf/fitz/filter.h
index dd3c295b..782c4d80 100644
--- a/include/mupdf/fitz/filter.h
+++ b/include/mupdf/fitz/filter.h
@@ -9,7 +9,14 @@
typedef struct fz_jbig2_globals_s fz_jbig2_globals;
+typedef struct
+{
+ int64_t offset;
+ int len;
+} fz_range;
+
fz_stream *fz_open_copy(fz_context *ctx, fz_stream *chain);
+fz_stream *fz_open_null_n(fz_context *ctx, fz_stream *chain, fz_range *ranges, int nranges);
fz_stream *fz_open_null(fz_context *ctx, fz_stream *chain, int len, int64_t offset);
fz_stream *fz_open_concat(fz_context *ctx, int max, int pad);
void fz_concat_push_drop(fz_context *ctx, fz_stream *concat, fz_stream *chain); /* Ownership of chain is passed in */