#ident "$Id: sld.h,v 1.1 1995/03/16 17:06:51 garyp Exp $"
/*****************************************************************************
 * Copyright (c) 1988-95 Digi International Inc., All Rights Reserved
 * 
 * This  software  contains  proprietary  and  confidential   information   of
 * Digi International  Inc.   By  accepting  transfer  of this copy, Recipient
 * agrees to retain this software in  confidence,  to  prevent  disclosure  to
 * others,  and  to make no  use of this software other than that for which it
 * was delivered.  This is an unpublished copyright work  Digi   International
 * Inc.    Except   as   permitted   by  federal  law,  17 USC 117, copying is
 * strictly prohibited.
 * 
 * Digi  International  Inc.  CONFIDENTIAL  -   (Digi    International    Inc.
 * Confidential  when   combined   with   the   aggregated  modules  for  this
 * product) OBJECT CODE ONLY SOURCE MATERIALS
 * 
 * (C) COPYRIGHT Digi International Inc. 1995
 * 
 * All Rights Reserved
 * 
 * US   Government   Users   Restricted   Rights   -   Use,   duplication   or
 * disclosure  restricted by GSA ADP Schedule Contract with Digi International
 * Inc.
 * 
 *****************************************************************************/

/******************************************************************
 *
 *  SpiderTCP Drivers
 *
 *  Copyright 1991  Spider Systems Limited
 *
 *  SLD.H
 *
 *  Streams Terminal Line Discipline declarations
 *
 ******************************************************************/

/*
 *	 /projects/common/PBRAIN/SCCS/pbrainF/dev/src/include/sys/snet/0/s.sld.h
 *	@(#)sld.h	1.6
 *
 *	Last delta created	15:52:46 10/19/92
 *	This file extracted	14:27:39 10/26/92
 *
 */

#define VALID_IBITS (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK) 
typedef struct sld	{
	ushort	sld_iflag;		/* input modes			*/
	ushort	sld_oflag;		/* output modes			*/
	ushort	sld_cflag;		/* control modes		*/
	ushort	sld_lflag;		/* ? modes			*/
	char	sld_col;		/* current column		*/
	ushort	sld_state;		/* local data space		*/
	unsigned char	sld_cc[NCCS];	/* settable control chars	*/
	int	sld_to;
	ushort	sld_pgrp;		/* Process group		*/
	struct sld  *sld_next;		/* next tty on free list	*/
	struct stio sttmp;		/* temporary storage for stermio*/
} SLD;
/* 4-byte masks to ensure CS7, etc have bits masked */
#define STRING_CS7_MASK 0x7f7f7f7fL
#define STRING_CS6_MASK 0x3f3f3f3fL
#define STRING_CS5_MASK 0x1f1f1f1fL

