diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-05-14 01:49:22 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-05-14 01:49:22 +0200 |
commit | 08e7bb2f11ff940998daf8dbadfaaef3eaec7496 (patch) | |
tree | 260154b98a32d7b94f4ffb93e1ece9db1fa92d18 /apps/pdfapp.h | |
parent | 92c591efc27373c0ae876ca55eb1f34da81ca9ec (diff) | |
download | mupdf-08e7bb2f11ff940998daf8dbadfaaef3eaec7496.tar.xz |
Change pdf_openxref to take a fz_stream instead of a filename so that windows can open files with unicode names.
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r-- | apps/pdfapp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h index 1c80ee4a..8c82f635 100644 --- a/apps/pdfapp.h +++ b/apps/pdfapp.h @@ -22,7 +22,6 @@ extern void windocopy(pdfapp_t*); struct pdfapp_s { /* current document params */ - char *filename; char *doctitle; pdf_xref *xref; pdf_outline *outline; @@ -64,7 +63,7 @@ struct pdfapp_s }; void pdfapp_init(pdfapp_t *app); -void pdfapp_open(pdfapp_t *app, char *filename); +void pdfapp_open(pdfapp_t *app, char *filename, int fd); void pdfapp_close(pdfapp_t *app); char *pdfapp_usage(pdfapp_t *app); |