home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
compress
/
splint.arc
/
splint.h
< prev
Wrap
C/C++ Source or Header
|
1989-04-12
|
774b
|
43 lines
/* global definitions and tables */
#include <stdio.h>
#ifdef __TURBOC__
#include <alloc.h>
#include <stdlib.h>
#include <dir.h>
#endif
#ifdef BSD
#include <malloc.h>
#define far
#endif
#ifdef MSDOS
#include <malloc.h>
#include <direct.h>
#include <stdlib.h>
#endif
#include <sys/types.h>
#include <string.h>
#include <sys/stat.h>
/* constants for splay algorithm */
#define CHAR_RANGE (255)
#define EOF_CODE (CHAR_RANGE + 1)
#define MAXCHAR (EOF_CODE + 1)
#define SUCCMAX (MAXCHAR + 1)
#define TWICEMAX (2 * MAXCHAR + 1)
#define ROOT 1
/* Markov model states */
/* Needs ~= 140kbytes heap to alloc properly */
#define STYLE_ID 6
#define MAXSTATE 64 /* 2 << 6 */
/* global variables */
extern char spl_passwd[];
/* end */