#ifndef _BEPORT_H
#define _BEPORT_H
#include <netdebug.h>
#include <socket.h>
#include <unistd.h>
#include <fcntl.h>
#include <getopt.h>

/*
 * Terminal stuff we should do
 */
#define TIOCPKT 0xfeed001
#define TIOCPKT_FLUSHWRITE 0
#define TIOCPKT_NOSTOP 0
#define TIOCPKT_DOSTOP 0


#define write check_write
#define read check_read
#define open check_open
#define close check_close
#define select check_select
#define ioctl check_ioctl
#define dup2 check_dup2

extern int forked;
extern int signalled;
#endif /* _BEPORT_H */

