NAME
fielddef -- Printing field definitions.
PURPOSE
Stores information about the fields in a row of a table. The turn report consists of a number of tables. Each table consists of a number of rows of fields. The fields in a table are aligned. To get them aligned the maximum fields length needs to be known. This length is stored in this structure. Tables are printed in a two step process. In the first step nothing is printed and the maximum field length is computed. In the second step the maximum field length is used to align and print the fields.
SOURCE
typedef struct fielddef {
int fieldSizes[MAXNOFIELDS];
int fieldNumber;
int format;
FILE *destination;
} fielddef;