/*** TCMEDOPT.H: Structures passed from PL/I to C	05/11/84  DTS */

/* PLIWDEF:  Structure used for PL/I W_DEF parm to TWINCR */

typedef struct pliwdef {
		short	int	row;		/* Position of window on screen */
		short	int	col;
		short	int	height;		/* Size of window on screen */
		short	int	width;
			char	fillchr;	/* CLEAR_CHAR - background */
			char	borders;	/* Boolean 0 = no border */
			int	virt_lines;
			int	max_chars;
			};

/* Bit codings for srbuf.opflag to TWINCR */

#define INITEXT 1
#define BORDER 2



/* PLIOPTIONS:  Stucture used for PL/I OPTIONS parm to TCOLL */

typedef struct plioptions {
		short	int	errlevel;	/* Severity level for errors */
		short	int	maxtime;	/* Time out in seconds */
		short	int	line;		/* Cursor position at start of edit */
		short	int	column;		/* line/column are returned at end of edit */
			char	statlin;	/* Status line enable , 1 bit int */
	    		char	readonly;	/* Read Only Mode, 1 bit int */
			char	insrtflg;	/* Insert Mode, 1 bit int */
			};

/* Bit codings for srbuf.opflag to TCOLL */

#define STATLIN 1
#define READOLY 2
#define INSRT	4



/* PLICURSOR:  Structure used for PL/I C_POS parm to TXTINS & TXTDEL */

typedef struct plicursor {
		short	int	line;		/* Cursor position for text */
		short	int	column;		/* line/column input only */
			};
