]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/genuca/genuca.h
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / tools / genuca / genuca.h
... / ...
CommitLineData
1/*
2*******************************************************************************
3*
4* Copyright (C) 2000-2001, International Business Machines
5* Corporation and others. All Rights Reserved.
6*
7*******************************************************************************
8* file name: genuca.h
9* encoding: US-ASCII
10* tab size: 8 (not used)
11* indentation:4
12*
13* created at the end of XX century
14* created by: Vladimir Weinstein
15*
16* This program reads the Franctional UCA table and generates
17* internal format for UCA table as well as inverse UCA table.
18* It then writes binary files containing the data: ucadata.dat
19* & invuca.dat
20*/
21
22#ifndef UCADATA_H
23#define UCADATA_H
24
25#include "unicode/utypes.h"
26
27#if !UCONFIG_NO_COLLATION
28
29#include "ucol_elm.h"
30#include <stdio.h>
31#include <string.h>
32#include "unicode/utypes.h"
33#include "unicode/uchar.h"
34#include "ucol_imp.h"
35#include "uhash.h"
36#include "umemstrm.h"
37#include "unewdata.h"
38
39
40void deleteElement(void *element);
41int32_t readElement(char **from, char *to, char separator, UErrorCode *status);
42uint32_t getSingleCEValue(char *primary, char *secondary, char *tertiary, UBool caseBit, UErrorCode *status);
43void printOutTable(UCATableHeader *myData, UErrorCode *status);
44UCAElements *readAnElement(FILE *data, tempUCATable *t, UCAConstants *consts, UErrorCode *status);
45
46#endif /* #if !UCONFIG_NO_COLLATION */
47
48#endif