]> git.saurik.com Git - apple/icu.git/blob - icuSources/tools/gensprep/gensprep.h
ICU-531.48.tar.gz
[apple/icu.git] / icuSources / tools / gensprep / gensprep.h
1 /*
2 *******************************************************************************
3 *
4 * Copyright (C) 1999-2006, International Business Machines
5 * Corporation and others. All Rights Reserved.
6 *
7 *******************************************************************************
8 * file name: gensprep.h
9 * encoding: US-ASCII
10 * tab size: 8 (not used)
11 * indentation:4
12 *
13 * created on: 2003-02-06
14 * created by: Ram Viswanadha
15 */
16
17 #ifndef __GENIDN_H__
18 #define __GENIDN_H__
19
20 #include "unicode/utypes.h"
21 #include "sprpimpl.h"
22
23 /* file definitions */
24 #define DATA_NAME "sprep"
25 #define DATA_TYPE "spp"
26
27 /*
28 * data structure that holds the IDN properties for one or more
29 * code point(s) at build time
30 */
31
32
33 /* global flags */
34 extern UBool beVerbose, haveCopyright;
35
36 /* prototypes */
37
38 extern void
39 setUnicodeVersion(const char *v);
40
41 extern void
42 setUnicodeVersionNC(UVersionInfo version);
43
44 extern void
45 init(void);
46
47 #if !UCONFIG_NO_IDNA
48 extern void
49 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
50 extern void
51 storeRange(uint32_t start, uint32_t end, UStringPrepType type,UErrorCode* status);
52 #endif
53
54 extern void
55 generateData(const char *dataDir, const char* bundleName);
56
57 extern void
58 setOptions(int32_t options);
59
60 extern void
61 cleanUpData(void);
62
63 /*
64 extern void
65 storeIDN(uint32_t code, IDN *idn);
66
67 extern void
68 processData(void);
69
70
71 */
72 #endif
73
74 /*
75 * Hey, Emacs, please set the following:
76 *
77 * Local Variables:
78 * indent-tabs-mode: nil
79 * End:
80 *
81 */