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