about summary refs log tree commit diff
path: root/lib/fileio.h
blob: 158da10af5ba6716d09012cdde52b58a7ed64284 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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