home *** CD-ROM | disk | FTP | other *** search
- /* pbm.h - header file for libpbm portable bitmap library
- */
-
- typedef unsigned char bit;
-
- /* Declarations of routines. */
-
- int pbm_getint( );
- /* i = pbm_getint( file ); */
- bit pbm_getbit( );
- /* b = pbm_getbit( file ); */
- char pbm_getc( );
- /* c = pbm_getc( file ); */
- bit **pbm_allocarray( );
- /* bits = pbm_allocarray( cols, rows ); bits[row][col]; */
- bit **pbm_readpbm( );
- /* bits = pbm_readpbm( file, &cols, &rows ); */
- pbm_writepbm( );
- /* pbm_writepbm( file, bits, cols, rows ); */
-