summaryrefslogtreecommitdiff
path: root/src/cos_parse.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-12-30 00:38:07 +0000
committerVincent Sanders <vince@kyllikki.org>2017-12-30 00:38:07 +0000
commit31b1f792826f51e9271475d124c3a1df4aa5116b (patch)
tree3e0c1083064ba66398dee4fa0aa1c464be3b5325 /src/cos_parse.h
parent5422dd50a49fe1a282271f22cd324f815e592e07 (diff)
downloadlibnspdf-31b1f792826f51e9271475d124c3a1df4aa5116b.tar.gz
libnspdf-31b1f792826f51e9271475d124c3a1df4aa5116b.tar.bz2
make an actual library
Diffstat (limited to 'src/cos_parse.h')
-rw-r--r--src/cos_parse.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cos_parse.h b/src/cos_parse.h
new file mode 100644
index 0000000..adfb835
--- /dev/null
+++ b/src/cos_parse.h
@@ -0,0 +1,10 @@
+struct nspdf_doc;
+struct cos_object;
+
+/**
+ * Decode input stream into an object
+ *
+ * lex and parse a byte stream to generate a COS object.
+ */
+nspdferror cos_parse_object(struct nspdf_doc *doc, uint64_t *offset_out, struct cos_object **cosobj_out);
+