/**********************************************************************
 * message structure definition, new format with unencoded #'s, etc.. *
 **********************************************************************/

#ifndef CONFIG
typedef struct	{
	unsigned number;		/* message # */
	unsigned seek;			/* cp/m record, seek loc of msg */
	unsigned parent;		/* parent message #, if any	*/
	char	group;			/* group code */
	char	place_holder; /* --------------- */
	char	receiver[NAMELEN+1];	/* who's msg to?	*/
	char	sender[NAMELEN+1];	/* who's msg from (first name)	*/
	char	status;			/* private/normal, etc.. */
	int	lines;			/* # of lines in message */
	char	date_entr[3];		/* date message entered */
	char	time_entr[2];		/* time message entered */
	char	date_read[3];		/* date read by first receiver */
	char	time_read[2];		/* time read by first receiver */
	char	topic[TOPICLEN+1];	/* subject of message	*/
/*    ----vvvvvvvvv------------- */
	char	nada[29];	/* temp filler because of size change */
	} msg_record;	/* new type */

/**************************************************************************
 * and now, the external, globally known, and loved, one and only msg var *
 **************************************************************************/

msg_record message;	/* Message variable that can be, and is, read	*/
			/* directly from the message/summary file	*/

/* these next three are for the read messages overlay */
char prevsender[NAMELEN+2];
unsigned prevmsg;		/* previous message #, for reply */
#ifdef INITGLOB
