# ifndef yyPositions
# define yyPositions

/* $Id: Positions.h,v 1.1 1993/08/18 15:01:05 grosch rel $ */

/* $Log: Positions.h,v $
 * Revision 1.1  1993/08/18  15:01:05  grosch
 * rename System and Memory to rSystem and rMemory
 *
 * Revision 1.0  1992/08/07  14:31:43  grosch
 * Initial revision
 *
 */

/* Ich, Doktor Josef Grosch, Informatiker, Juli 1992 */

# include <stdio.h>

# if defined __STDC__ | defined __cplusplus
# define ARGS(parameters)	parameters
# else
# define ARGS(parameters)	()
# endif

typedef struct { unsigned short Line, Column; } tPosition;

extern tPosition NoPosition;
			/* A default position (0, 0).			*/

extern int  Compare	  ARGS((const tPosition Position1, const tPosition Position2));
			/* Returns -1 if Position1 < Position2.		*/
			/* Returns  0 if Position1 = Position2.		*/
			/* Returns  1 if Position1 > Position2.		*/

extern void WritePosition ARGS((FILE * File, tPosition Position));
			/* The 'Position' is printed on the 'File'.	*/

extern void ReadPosition ARGS((FILE * File, tPosition * Position));
			/* The 'Position' is read from the 'File'.	*/

# endif
