about summary refs log tree commit diff
path: root/lib/libpgm.h
blob: ba51f9a959424ac958cd66ad569040f2a7b028f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* This is the intra-libnetpbm interface header file for libpgm*.c
*/

#ifndef LIBPGM_H_INCLUDED
#define LIBPGM_H_INCLUDED

#include "pgm.h"

void
pgm_readpgminitrest(FILE * const file, 
                    int *  const colsP, 
                    int *  const rowsP, 
                    gray * const maxvalP);

gray
pgm_getrawsample(FILE * const file,
                 gray   const maxval);

void
pgm_writerawsample(FILE * const fileP,
                   gray   const val,
                   gray   const maxval);

#endif