/*--------------------------------------------------------------------*/
/*    u l i b 1 4 . h                                                 */
/*                                                                    */
/*    INT14 (serial port) communications functions                    */
/*--------------------------------------------------------------------*/

/*--------------------------------------------------------------------*/
/*    Changes Copyright (c) 1989-1998 by Kendra Electronic            */
/*    Wonderworks.                                                    */
/*                                                                    */
/*    All rights reserved except those explicitly granted by the      */
/*    UUPC/extended license agreement.                                */
/*--------------------------------------------------------------------*/

/*--------------------------------------------------------------------*/
/*                          RCS Information                           */
/*--------------------------------------------------------------------*/

/*
 *    $Id: ulib14.h 1.9 1998/03/01 01:42:58 ahd v1-12v $
 *
 *    Revision history:
 *    $Log: ulib14.h $
 *    Revision 1.9  1998/03/01 01:42:58  ahd
 *    Annual Copyright Update
 *
 *    Revision 1.8  1997/04/24 01:38:08  ahd
 *    Annual Copyright Update
 *
 *    Revision 1.7  1996/01/01 21:24:32  ahd
 *    Annual Copyright Update
 *
 *    Revision 1.6  1995/01/07 16:50:06  ahd
 *    Change boolean to KWBoolean to avoid VC++ 2.0 conflict
 *
 *    Revision 1.5  1994/12/22 00:41:32  ahd
 *    Annual Copyright Update
 *
 *    Revision 1.4  1994/01/24 02:57:49  ahd
 *    Annual Copyright Update
 *
 * Revision 1.3  1994/01/01  19:24:25  ahd
 * Annual Copyright Update
 *
 * Revision 1.2  1993/12/24  05:22:49  ahd
 * Use UUFAR pointer for comm buffers
 *
 * Revision 1.1  1993/05/30  15:27:22  ahd
 * Initial revision
 *
 * Revision 1.1  1993/05/30  00:19:06  ahd
 * Initial revision
 *
 */

extern int iopenline(char *name, BPS baud, const KWBoolean direct);

extern unsigned int isread(char UUFAR *buffer,
                          unsigned int wanted,
                          unsigned int timeout);

int iswrite(const char UUFAR *data, unsigned int len);

void issendbrk(unsigned int duration);

void icloseline(void);

void iSIOSpeed(BPS baud);

void iflowcontrol( KWBoolean );

void ihangup( void );

BPS iGetSpeed( void );

KWBoolean iCD( void );
