]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/gensprep/gensprep.h
ICU-531.48.tar.gz
[apple/icu.git] / icuSources / tools / gensprep / gensprep.h
CommitLineData
b75a7d8f
A
1/*
2*******************************************************************************
3*
73c04bcf 4* Copyright (C) 1999-2006, International Business Machines
b75a7d8f
A
5* Corporation and others. All Rights Reserved.
6*
7*******************************************************************************
374ca955 8* file name: gensprep.h
b75a7d8f
A
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"
b75a7d8f
A
21#include "sprpimpl.h"
22
23/* file definitions */
374ca955
A
24#define DATA_NAME "sprep"
25#define DATA_TYPE "spp"
b75a7d8f
A
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 */
34extern UBool beVerbose, haveCopyright;
35
36/* prototypes */
37
38extern void
39setUnicodeVersion(const char *v);
40
374ca955
A
41extern void
42setUnicodeVersionNC(UVersionInfo version);
43
b75a7d8f
A
44extern void
45init(void);
46
374ca955 47#if !UCONFIG_NO_IDNA
b75a7d8f 48extern void
374ca955 49storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
b75a7d8f 50extern void
374ca955
A
51storeRange(uint32_t start, uint32_t end, UStringPrepType type,UErrorCode* status);
52#endif
b75a7d8f
A
53
54extern void
73c04bcf 55generateData(const char *dataDir, const char* bundleName);
374ca955
A
56
57extern void
58setOptions(int32_t options);
b75a7d8f
A
59
60extern void
61cleanUpData(void);
62
63/*
64extern void
65storeIDN(uint32_t code, IDN *idn);
66
67extern void
68processData(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 */