#ident "$Id: xxx_inc.h,v 1.3 1997/10/21 20:48:52 gary 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.
 * 
 *****************************************************************************/



/************************************************************************
 * Copyright (c) 1993-1994 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 copyrighted work of Digi International
 * Inc.  Except as permitted by federal law, 17 USC 117, copying is strictly
 * prohibited.
 */


/******************************************************************
 *
 *  SpiderX25 XXX Module
 *
 *  Copyright 1991 Spider Systems Limited
 *
 *  XXX_INC.H
 *
 *    XXX include file - contains includes for all .H files,
 *			 and forward declarations for all
 *			 internal routines used by XXX code.
 *
 *
 ******************************************************************/

/*
 *	 /projects/common/PBRAIN/SCCS/pbrainF/dev/sys/xxx/0/s.xxx_inc.h
 *	@(#)xxx_inc.h	1.35
 *
 *	Last delta created	12:31:28 11/26/92
 *	This file extracted	19:55:49 1/24/93
 *
 */

#include "types.h"
#include "system.h"
#include "stream.h"
/* #include <sys/param.h> */
#include "termio.h"
/* #include <sys/dir.h> */
/* #include <sys/stropts.h> */
#include "errno.h"
#include "signal.h"
#include "x25_proto.h"
#include "timer.h"
#include "xxx_control.h"
#include "xxx.h"
#include "xxxmess.h"

#define	Q_PTR	queue_t *

int	wakeup();

/* Variables from Space.c */

extern	int	max_ccbs, max_profiles, x29_default;
extern	CCB	ccb_table[];
extern	struct	prof_entry prof_table[];


/* Routines from xxx_util.c */

mblk_t	*xxx_conreq(), *xxx_conresp(), *xxx_disreq();
mblk_t	*xxx_resreq(), *xxx_exp(), *xxx_expACK(), *xxx_PADmessage();
mblk_t	*xxx_data();


/* Routines from xxx_data.c */

int	process_input(), process_output(), screenout();
int	tx_xxx_data(), xxx_pagewait(), xxx_addbyte();
void	xxx_timer();

/* Routines from xxx_user.c */

int	process_command(), handle_command();
int	xxx_printf();
static struct xxx_cmd *getcmd();


/* Routines from xxx_sup.c */

int	send_signon(), send_cleared(), send_zero();
int	invite_clearcon(), clearcon(), xxx_send();
void	do_line_break(), check_opmode(), send_reset();
mblk_t	*termio_to_X3map();


/* Routines from xxx_x29.c */

void	x29_print();
int	handleX29(),	ok_bract();


/* Variables from xxx_sup.c	*/

extern	struct termio	init_termio_pars;

