summaryrefslogtreecommitdiff
path: root/gfx/pdftoc.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-24 18:08:15 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-24 18:08:15 -0300
commit71d2312487fed19d2500357cb644c3801179f600 (patch)
tree70510dcfbc9abb3376306492b89845333fc2865b /gfx/pdftoc.h
parent279ddbdb4fb11dbffb487db05b74787b5275b4d9 (diff)
downloadeeshow-71d2312487fed19d2500357cb644c3801179f600.tar.gz
eeshow-71d2312487fed19d2500357cb644c3801179f600.tar.bz2
eeshow-71d2312487fed19d2500357cb644c3801179f600.zip
separate argument list from gfx_init; related API changes
Diffstat (limited to 'gfx/pdftoc.h')
-rw-r--r--gfx/pdftoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/pdftoc.h b/gfx/pdftoc.h
index 8ccdbe5..aabc8ef 100644
--- a/gfx/pdftoc.h
+++ b/gfx/pdftoc.h
@@ -19,7 +19,8 @@
struct pdftoc;
-struct pdftoc *pdftoc_begin(const char *file);
+struct pdftoc *pdftoc_begin(void);
+bool pdftoc_set_file(struct pdftoc *ctx, const char *file);
bool pdftoc_write(struct pdftoc *ctx, const void *data, unsigned length);
void pdftoc_title(struct pdftoc *ctx, const char *title);
void pdftoc_end(struct pdftoc *ctx);