summaryrefslogtreecommitdiff
path: root/src/pdf_doc.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-01-05 15:40:09 +0000
committerVincent Sanders <vince@kyllikki.org>2018-01-05 15:40:09 +0000
commitad6da4a71f2b837a791401e658a16bf6903fd3b5 (patch)
tree761f5e5a80a907721ff596f7f82cec85a160edad /src/pdf_doc.h
parenta65babe2fbd341f9d12a50a9530682ef1e015b58 (diff)
downloadlibnspdf-ad6da4a71f2b837a791401e658a16bf6903fd3b5.tar.gz
libnspdf-ad6da4a71f2b837a791401e658a16bf6903fd3b5.tar.bz2
split out page handling into new module
Diffstat (limited to 'src/pdf_doc.h')
-rw-r--r--src/pdf_doc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdf_doc.h b/src/pdf_doc.h
index e9bdc14..a75c90e 100644
--- a/src/pdf_doc.h
+++ b/src/pdf_doc.h
@@ -49,3 +49,5 @@ nspdferror doc_skip_ws(struct nspdf_doc *doc, uint64_t *offset);
nspdferror doc_skip_eol(struct nspdf_doc *doc, uint64_t *offset);
nspdferror xref_get_referenced(struct nspdf_doc *doc, struct cos_object **cobj_out);
+
+nspdferror nspdf__decode_page_tree(struct nspdf_doc *doc, struct cos_object *page_tree_node, unsigned int *page_index);