reactos/rosapps/smartpdf/fitz/include/samus/pack.h
Klemens Friedl 435a566751 SmartPDF - lightweight pdf viewer app for rosapps
* sumatrapdf - vendor import
* everything compiles (libjpeg, poppler, fitz, sumatrapdf)
* does NOT link

(remove the comment tags in the parent directory.rbuild file (rosapps dir) to build it)

svn path=/trunk/; revision=29295
2007-09-29 08:39:35 +00:00

29 lines
661 B
C

/*
* Metro Package and Parts
*/
typedef struct sa_package_s sa_package;
typedef struct sa_relation_s sa_relation;
struct sa_relation_s
{
int external;
char *target;
char *id;
char *type;
sa_relation *next;
};
fz_error *sa_openpackage(sa_package **packp, char *filename);
void sa_debugpackage(sa_package *pack);
void sa_closepackage(sa_package *pack);
fz_error *sa_openpart(fz_stream **stmp, sa_package *pack, char *partname);
char *sa_typepart(sa_package *pack, char *partname);
fz_error *sa_loadrelations(sa_relation **relsp, sa_package *pack, char *partname);
void sa_debugrelations(sa_relation *rels);
void sa_droprelations(sa_relation *rels);