bufio.h | bufio.h | |||
---|---|---|---|---|
skipping to change at line 74 | skipping to change at line 74 | |||
int (*)(BufFilePtr), | int (*)(BufFilePtr), | |||
int (*)(int, BufFilePtr), | int (*)(int, BufFilePtr), | |||
int (*)(BufFilePtr, int), | int (*)(BufFilePtr, int), | |||
int (*)(BufFilePtr, int)); | int (*)(BufFilePtr, int)); | |||
extern BufFilePtr BufFileOpenRead ( int ); | extern BufFilePtr BufFileOpenRead ( int ); | |||
extern BufFilePtr BufFileOpenWrite ( int ); | extern BufFilePtr BufFileOpenWrite ( int ); | |||
extern BufFilePtr BufFilePushCompressed ( BufFilePtr ); | extern BufFilePtr BufFilePushCompressed ( BufFilePtr ); | |||
#ifdef X_GZIP_FONT_COMPRESSION | #ifdef X_GZIP_FONT_COMPRESSION | |||
extern BufFilePtr BufFilePushZIP ( BufFilePtr ); | extern BufFilePtr BufFilePushZIP ( BufFilePtr ); | |||
#endif | #endif | |||
#ifdef X_BZIP2_FONT_COMPRESSION | ||||
extern BufFilePtr BufFilePushBZIP2 ( BufFilePtr ); | ||||
#endif | ||||
extern int BufFileClose ( BufFilePtr, int ); | extern int BufFileClose ( BufFilePtr, int ); | |||
extern int BufFileRead ( BufFilePtr, char*, int ); | extern int BufFileRead ( BufFilePtr, char*, int ); | |||
extern int BufFileWrite ( BufFilePtr, char*, int ); | extern int BufFileWrite ( BufFilePtr, char*, int ); | |||
#define BufFileGet(f) ((f)->left-- ? *(f)->bufp++ : ((f)->eof = (*(f)->inp ut) (f))) | #define BufFileGet(f) ((f)->left-- ? *(f)->bufp++ : ((f)->eof = (*(f)->inp ut) (f))) | |||
#define BufFilePut(c,f) (--(f)->left ? *(f)->bufp++ = ((unsigned cha r)(c)) : (*(f)->output) ((unsigned char)(c),f)) | #define BufFilePut(c,f) (--(f)->left ? *(f)->bufp++ = ((unsigned cha r)(c)) : (*(f)->output) ((unsigned char)(c),f)) | |||
#define BufFileSkip(f,c) ((f)->eof = (*(f)->skip) (f, c)) | #define BufFileSkip(f,c) ((f)->eof = (*(f)->skip) (f, c)) | |||
#ifndef TRUE | #ifndef TRUE | |||
#define TRUE 1 | #define TRUE 1 | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||