summaryrefslogtreecommitdiff
path: root/include/nspdf/page.h
blob: 119ef22d0d98ea977bcaa17f99cbc8d647f88f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright 2018 Vincent Sanders <vince@netsurf-browser.org>
 *
 * This file is part of libnspdf.
 *
 * Licensed under the MIT License,
 *                http://www.opensource.org/licenses/mit-license.php
 */

/**
 * \file
 * NetSurf PDF library page manipulation.
 */

#ifndef NSPDF_PAGE_H_
#define NSPDF_PAGE_H_

#include <nspdf/errors.h>

struct nspdf_doc;

nspdferror nspdf_count_pages(struct nspdf_doc *doc, unsigned int *pages_out);

#endif /* NSPDF_META_H_ */