diff options
Diffstat (limited to 'lib/fileio.h')
-rw-r--r-- | lib/fileio.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/fileio.h b/lib/fileio.h new file mode 100644 index 00000000..158da10a --- /dev/null +++ b/lib/fileio.h @@ -0,0 +1,22 @@ +#ifndef _NETPBM_FILEIO_H_ +#define _NETPBM_FILEIO_H_ + +char +pm_getc(FILE * const file); + +unsigned char +pm_getrawbyte(FILE * const file); + +unsigned int +pm_getuint(FILE * const file); + +unsigned int +pm_getraw(FILE * const file, + unsigned int const bytes); + +void +pm_putraw(FILE * const file, + unsigned int const value, + unsigned int const bytes); + +#endif |