/*
*  defines that are only applicable to the IBM PC/ PC-DOS environment
*  other files will take this one's place for other machines
*/
typedef unsigned char u_char;
typedef unsigned int u_int;
typedef unsigned short u_short;
typedef unsigned long u_long;

/*
 *	defines for pointers
 */
#define	FNULL	((void _far *)0)
#define NNULL	((void _near *)0)

/*
 *	defines for clock related values
 */
#define B_CLICKS()	(*(unsigned char _far *)0x0040006cL)
#define L_CLICKS()	(*(unsigned int _far *)0x0040006cL)
#define H_CLICKS()	(*(unsigned int _far *)0x0040006eL)
#define	N_CLICKS()	(*(unsigned long _far *)0x0040006cL)
#define TICKSPERSEC 18		/* actually 18.2 (91/5) ticks per second */
#define WRAPTIME 1572480L	/* in ticks, only for PC */

/*
 *	used by tcpport->flag
 */
#define	O_NDELAY	0x01
#define O_GOTALL	0x20
#define O_CLOSING	0x40
#define O_CLOSED	0x80
