chm_lib.h | chm_lib.h | |||
---|---|---|---|---|
skipping to change at line 72 | skipping to change at line 72 | |||
/* the two available spaces in a CHM file */ | /* the two available spaces in a CHM file */ | |||
/* N.B.: The format supports arbitrarily many spaces, but only */ | /* N.B.: The format supports arbitrarily many spaces, but only */ | |||
/* two appear to be used at present. */ | /* two appear to be used at present. */ | |||
#define CHM_UNCOMPRESSED (0) | #define CHM_UNCOMPRESSED (0) | |||
#define CHM_COMPRESSED (1) | #define CHM_COMPRESSED (1) | |||
/* structure representing an ITS (CHM) file stream */ | /* structure representing an ITS (CHM) file stream */ | |||
struct chmFile; | struct chmFile; | |||
/* structure representing an element from an ITS file stream */ | /* structure representing an element from an ITS file stream */ | |||
#define CHM_MAX_PATHLEN (256) | #define CHM_MAX_PATHLEN (512) | |||
struct chmUnitInfo | struct chmUnitInfo | |||
{ | { | |||
LONGUINT64 start; | LONGUINT64 start; | |||
LONGUINT64 length; | LONGUINT64 length; | |||
int space; | int space; | |||
int flags; | ||||
char path[CHM_MAX_PATHLEN+1]; | char path[CHM_MAX_PATHLEN+1]; | |||
}; | }; | |||
/* open an ITS archive */ | /* open an ITS archive */ | |||
#ifdef PPC_BSTR | #ifdef PPC_BSTR | |||
/* RWE 6/12/2003 */ | /* RWE 6/12/2003 */ | |||
struct chmFile* chm_open(BSTR filename); | struct chmFile* chm_open(BSTR filename); | |||
#else | #else | |||
struct chmFile* chm_open(const char *filename); | struct chmFile* chm_open(const char *filename); | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||