#ifndef AA2PGM_H #define AA2PGM_H #define CROW 11 #define CCOL 9 #define MAXVAL 14 #define PGM_HEIGHT 80*CROW #define PGM_WIDTH 80*CCOL #define MAXCHARS 3600 /* 80x80 chars */ typedef struct { char magic_num[2]; /*P2*/ int width; /* Not counting character width */ int height; /* Not counting character height */ int maxval; } pgm_header_t; #endif /* AA2PGM_H */