head	1.3;
access;
symbols
	OCT93:1.3;
locks;
comment	@ * @;


1.3
date	93.09.18.20.16.23;	author Rhialto;	state Exp;
branches;
next	1.2;

1.2
date	93.06.11.16.15.25;	author Rhialto;	state Exp;
branches;
next	1.1;

1.1
date	93.06.11.15.19.27;	author Rhialto;	state Exp;
branches;
next	;


desc
@Prototype for (former) tty.c
@


1.3
log
@Unconditional prototypes.
@
text
@/* $Id: tty.h,v 1.2 1993/06/11 16:15:25 Rhialto Exp $
 * $Log: tty.h,v $
 * Revision 1.2  1993/06/11  16:15:25  Rhialto
 * First real RCS checkin
 *
 */
/*
  ttyio.h

  (c) Copyright 1991 by David M. Siegel.
      All rights reserved.

  %W% %G% %U%
*/

#ifndef in_libfax_tty_h
#define in_libfax_tty_h 1

/* Some fake termio values: */
#define TCOON	    1
#define TCION	    2
#define TCOFLUSH    4
#define TCIFLUSH    8
#define TCIOFLUSH   (TCOFLUSH | TCIFLUSH)
#define TCXONC	    16
#define TCOOFF	    32

int ioctl(int, int, int);

typedef enum {
    FC_OUTPUT_ON,	/* allow modem to send ^S to stop computer */
    FC_INPUT_ON,	/* allow computer to send ^S to stop modem */
    FC_BOTH_ON, 	/* both input and output flow control on   */
    FC_BOTH_OFF,	/* no flow control on			   */
} fc_state;

/*
  Prototypes:
*/

int tty_fc(int fd, fc_state state);
int tty_open(char *filename);
int tty_close(int fd);
int tcflush(int, int);
int tcflow(int, int);
int tcdrain(int);
int fdprintf(int, char *, ...);
#endif
@


1.2
log
@First real RCS checkin
@
text
@d1 5
a5 2
/* $Id$
 * $Log$
d41 3
a43 19
int tty_fc(
#ifdef _PROTO
     int fd,
     fc_state state
#endif
);

int tty_open(
#ifdef _PROTO
     char *filename
#endif
);

int tty_close(
#ifdef _PROTO
     int fd
#endif
);

@


1.1
log
@Initial revision
@
text
@d1 3
@
