diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-06-30 15:21:56 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-06 13:34:37 +0200 |
commit | 255776a778b519183d6935ff0cb4b766644fa830 (patch) | |
tree | 16c2d411870b31cc25a2941d90ca862c10083667 /include/mupdf/fitz/store.h | |
parent | b644ed1360d0e47c03a637bbc568000d57d0cdbf (diff) | |
download | mupdf-255776a778b519183d6935ff0cb4b766644fa830.tar.xz |
pdf: Drop generation number from public interfaces.
The generation number is only needed for decryption, and is assumed
to be zero or irrelevant for all other uses.
Store the original object number and generation in the xref slot, so
that we can decrypt them even when the objects have been renumbered,
without needing to pass the original object number around through
the stream loading APIs.
Diffstat (limited to 'include/mupdf/fitz/store.h')
-rw-r--r-- | include/mupdf/fitz/store.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/mupdf/fitz/store.h b/include/mupdf/fitz/store.h index e9b81539..07f6a286 100644 --- a/include/mupdf/fitz/store.h +++ b/include/mupdf/fitz/store.h @@ -67,12 +67,6 @@ struct fz_store_hash_s { struct { - int i0; - int i1; - void *ptr; - } i; - struct - { const void *ptr; int i; } pi; |