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

void
pgm_validateComputableSize(unsigned int const cols,
                           unsigned int const rows);

void
pgm_validateComputableMaxval(gray const maxval);

#endif