/* File: chinesetable.h
   Author: NJA
   Creation date: 14/07/00
   Last update:
   
   Purpose: Declarations concerning the chinese characters table.
*/

#ifndef _LOOKUP_TABLE_H_
#define _LOOKUP_TABLE_H_

#define NUM_OF_LINES 6763  /* Number of UCS2 codes in file us2lite.16 */

typedef struct
{
  unsigned int ucs2;
  unsigned long offset;
} lookup_table;


typedef struct
{
  unsigned long row;
  char pres[32];
  unsigned long offset;
} ucs2_row;

typedef struct
{
  unsigned int index;
  unsigned long address;
} row_address_t;

FILE *ucs2_file, *table_file, *rows_file, *numbits_file;

#endif /*_LOOKUP_TABLE_H_*/
