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
|
|
|
|
|
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"
|
|
|
|
#include "unicode/unicode.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);
|
|
|
|
UCAElements *readAnElement(FILE *data, UErrorCode *status);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|