2001-02-23 04:57:47 +00:00
|
|
|
/*
|
|
|
|
*******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright (C) 2000-2001, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
*
|
|
|
|
*******************************************************************************
|
2001-02-26 10:28:56 +00:00
|
|
|
* file name: genuca.h
|
2001-02-23 04:57:47 +00:00
|
|
|
* encoding: US-ASCII
|
|
|
|
* tab size: 8 (not used)
|
|
|
|
* indentation:4
|
|
|
|
*
|
2001-02-26 10:28:56 +00:00
|
|
|
* created at the end of XX century
|
|
|
|
* created by: Vladimir Weinstein
|
|
|
|
*
|
2001-02-23 04:57:47 +00:00
|
|
|
* This program reads the Franctional UCA table and generates
|
|
|
|
* internal format for UCA table as well as inverse UCA table.
|
|
|
|
* It then writes binary files containing the data: ucadata.dat
|
|
|
|
* & invuca.dat
|
|
|
|
*/
|
|
|
|
|
2001-02-22 21:18:29 +00:00
|
|
|
#ifndef UCADATA_H
|
|
|
|
#define UCADATA_H
|
|
|
|
|
2002-10-01 17:44:04 +00:00
|
|
|
#include "unicode/utypes.h"
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_COLLATION
|
|
|
|
|
2001-03-08 17:40:42 +00:00
|
|
|
#include "ucol_elm.h"
|
2001-02-22 21:18:29 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include "unicode/utypes.h"
|
2002-08-21 22:25:20 +00:00
|
|
|
#include "unicode/uchar.h"
|
2001-03-08 17:40:42 +00:00
|
|
|
#include "ucol_imp.h"
|
2001-02-22 21:18:29 +00:00
|
|
|
#include "uhash.h"
|
|
|
|
#include "umemstrm.h"
|
|
|
|
#include "unewdata.h"
|
|
|
|
|
|
|
|
|
|
|
|
void deleteElement(void *element);
|
|
|
|
int32_t readElement(char **from, char *to, char separator, UErrorCode *status);
|
|
|
|
uint32_t getSingleCEValue(char *primary, char *secondary, char *tertiary, UBool caseBit, UErrorCode *status);
|
|
|
|
void printOutTable(UCATableHeader *myData, UErrorCode *status);
|
2002-06-13 18:24:36 +00:00
|
|
|
UCAElements *readAnElement(FILE *data, tempUCATable *t, UCAConstants *consts, UErrorCode *status);
|
2001-02-22 21:18:29 +00:00
|
|
|
|
2002-10-01 17:44:04 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_COLLATION */
|
2001-02-22 21:18:29 +00:00
|
|
|
|
|
|
|
#endif
|