/* CCRP.H  28.10.1996 */

typedef char C;                 /* char (strings, null-terminated) */
typedef double D;               /* double float (double precision) */
typedef float F;                /* float (single precision) */
typedef int I;                  /* short integer (signed) */
typedef long L;                 /* long integer (signed) */
typedef unsigned int U;         /* short integer (unsigned) */
typedef unsigned char UC;       /* unsigned character */
typedef void V;                 /* void data type */

I bitget(C * cstr, I ibit);
V bitput(C * cstr, I ibit, I iput);
V ifn_cryp(I * int1, I * int2, I * istk, C * cbuf, C * ctmp, I ibit, I ilen,
           I iopr);
V ifn_msgs(C * cmsg, I iofs, I irow, I icol, I ibrp, I iext);
V ifn_pack(C * cbuf, L llof, U ibuf, I iopr, struct _iobuf *ebuf);
V ifn_read(C * cbuf, L lbyt, U ibuf, struct _iobuf *ebuf);
V ifn_sort(I * int1, I * int2, I * istk, I imax);
V ifn_write(C * cbuf, L lbyt, U ibuf, struct _iobuf *ebuf);
U io_vadr(I inop);
V io_vcls(I iclr);
V io_vcsr(I irow, I icol, I icsr);
V io_vdsp(C * cdat, I irow, I icol, I iclr);

union REGS rg;                  /* DOS registers declaration (video) */
U _far *uvadr = 0;              /* video display pointer */