#ifndef PDF_TOOL_H_ #define PDF_TOOL_H_ #ifdef __cplusplus extern "C" { #endif #include "fitz.h" #include "mupdf.h" extern char *basename; extern pdf_xref *xref; extern int pagecount; void die(fz_error error); void setcleanup(void (*cleanup)(void)); void openxref(char *filename, char *password, int dieonbadpass); void flushxref(void); void closexref(void); #ifdef __cplusplus } #endif #endif