home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
309.lha
/
PBM_PLUS
/
pbm
/
libpbm.h
< prev
next >
Wrap
C/C++ Source or Header
|
1980-12-04
|
632b
|
26 lines
/* libpbm.h - internal header file for libpbm portable bitmap library
*/
#ifndef _LIBPBM_H_
#define _LIBPBM_H_
/* Magic constants. */
#define PBM_MAGIC1 'P'
#define PBM_MAGIC2 '1'
#define RPBM_MAGIC2 '4'
#define PBM_FORMAT (PBM_MAGIC1 * 256 + PBM_MAGIC2)
#define RPBM_FORMAT (PBM_MAGIC1 * 256 + RPBM_MAGIC2)
/* And here are some routines internal to the pbm library. */
char pbm_getc( /* FILE *file */ );
unsigned char pbm_getrawbyte( /* FILE *file */ );
int pbm_getint( /* FILE *file */ );
int pbm_readmagicnumber( /* FILE *file */ );
void pbm_readpbminitrest( /* FILE *file, int *colsP, int *rowsP */ );
#endif _LIBPBM_H_