/* %Z%%M% %I% %E% */

/*
 * Copyright (c) 1991, 1992, 1995 by Wayne C. Gramlich.
 * All rights reserved.
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * for any purpose is hereby granted without fee provided that the above
 * copyright notice and this permission are retained.  The author makes
 * no representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

/* This file defines the messaged data structure: */

#ifndef MSG_DEFS_H
#define MSG_DEFS_H

#ifndef FLAGS_TYPES_H
#include "flags_types.h"
#endif

#ifndef MSG_EXPORTS_H
#include "msg_exports.h"
#endif

#ifndef UNIX_STDIO_H
#include "unix_stdio.h"
#endif

#ifndef VECTOR_TYPES_H
#include "vector_types.h"
#endif

struct Msg_struct {
	int		count;		/* Number of errors */
	Stdio		error_file;	/* Error output file */
	Str		file_name;	/* File name in error messages */
	Flags		flags;		/* Flags */
	int		position_split;	/* Position where file splits */
	Vec(int)	positions;	/* Position table */
};

#endif /* MSG_DEFS_H */
