/*
 * 5799-WZQ (C) COPYRIGHT = NONE
 * LICENSED MATERIALS - PROPERTY OF IBM
 */
/* $Header:state.h 12.0$ */
/* $ACIS:state.h 12.0$ */
/* $Source: /ibm/acis/usr/src/ucb/tn3270/RCS/state.h,v $ */

#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
static char *rcsidstate = "$Header:state.h 12.0$";
#endif

/*
 *	@(#)state.h	3.1  10/29/86
 */

#define	INCLUDED_STATE

/* this defines the state structure used by the key mapping routines */

#define state	struct State
struct State {
    int		match;		/* character to match */
    int		result;		/* 3270 control code */
    state	*next;		/* next entry in this same state */
    state	*address;	/* if goto, where is next state */
};
