/***********************************************************************\

	Product Number: SC-04-5.7

	Version: rev5.7

	Product Name: Spelling Components - Cache

	Filename: cache.h


	This document contains private and confidential information and
	its disclosure does not constitute publication.  Some of the
	information herein also may appear in United States and or
	Foreign Patents Pending.  All rights are reserved by Proximity
	Technology Inc., except those specifically granted by license.

\***********************************************************************/

#ifndef SC_CACHE
#define SC_CACHE

#ifndef _PROXLIB
#include <proxlib.h>
#endif

#ifndef _SSEARCH
#include "ssearch.h"
#endif

/* This structure defines a cache. */

typedef struct {
	char    csh_env;        /* the language stored in the Cache. */
	char    csh_mode;       /* non-zero for LRU replacement; not used */
	unsigned int csh_size;  /* The size of the strings table */
	SSRCHTAB csh_sstab;     /* ssearch structure */
	UCHAR   csh_tab[1];     /* First element of the strings table */
} CACHE;
#endif
