#define _EFAXOS_H
#include <time.h>
+#include <stdlib.h>
#include "efaxlib.h"
#define UNIXSIGS SIGHUP, SIGQUIT, SIGIOT, SIGALRM
#define CATCHSIGS ANSISIGS, UNIXSIGS
-/* Bit order reversal table. */
-
-extern unsigned char normalbits [ ] ;
-
typedef enum ttymodes /* serial port modes: */
{
COMMAND, /* 19200 8N1, no f/c, DTR high */
int tgetd ( TFILE *f, int t ) ;
int tput ( TFILE *f, unsigned char *p, int n ) ;
int tdata ( TFILE *f, int t ) ;
-void tinit ( TFILE *f, int fd, int reverse, int hwfc ) ;
int ttyopen ( TFILE *f, char *fname, int reverse, int hwfc ) ;
int ttymode ( TFILE *f, ttymodes mode ) ;
void msleep ( int t ) ;