]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/gensprep/gensprep.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / tools / gensprep / gensprep.h
... / ...
CommitLineData
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html
3/*
4*******************************************************************************
5*
6* Copyright (C) 1999-2006, International Business Machines
7* Corporation and others. All Rights Reserved.
8*
9*******************************************************************************
10* file name: gensprep.h
11* encoding: UTF-8
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"
23#include "sprpimpl.h"
24
25/* file definitions */
26#define DATA_NAME "sprep"
27#define DATA_TYPE "spp"
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
43extern void
44setUnicodeVersionNC(UVersionInfo version);
45
46extern void
47init(void);
48
49#if !UCONFIG_NO_IDNA
50extern void
51storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
52extern void
53storeRange(uint32_t start, uint32_t end, UStringPrepType type,UErrorCode* status);
54#endif
55
56extern void
57generateData(const char *dataDir, const char* bundleName);
58
59extern void
60setOptions(int32_t options);
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 */