/* * Copyright 2018 Vincent Sanders * * This file is part of libnspdf. * * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php */ /** * \file * NetSurf PDF library parsing cos objects from file */ #ifndef NSPDF__COS_PARSE_H_ #define NSPDF__COS_PARSE_H_ 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); #endif