/* FILE: RAD.H */ /* Header file for RAD_SOFTWARE developed in C language */ typedef unsigned short BIT16 ; typedef char BOOLE ; #define NO 0 #define YES 1 /* * The returned ray. */ #define BINNUM 147 /* GOD given number */ typedef char RAY[BINNUM] ; /* data values from one port for one radar pulse */ #define EOB 0xC000 /* the end-of-data in CDB code */ #define HARDWERR 0xC001 /* the HARDWARE error flag in CDB code */ #define BIT15SET(c) ( (c) & 0x8000 ) #define CDBSIZ 1536 /* size of a CDB in 16 bit words */ typedef BIT16 CDB[CDBSIZ] ; /* declare CDB size */ typedef struct { /* compressed data ray header */ BIT16 azimuth ; BIT16 elevation ; char hours ; char minutes ; char seconds ; char tics ; } COMRAYHEAD ; #define SYS2AZ(c) ((c) & 0x3fff) /* system rep of azimuth */