]>
git.saurik.com Git - apple/icu.git/blob - icuSources/tools/gensprep/gensprep.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
6 * Copyright (C) 1999-2006, International Business Machines
7 * Corporation and others. All Rights Reserved.
9 *******************************************************************************
10 * file name: gensprep.h
12 * tab size: 8 (not used)
15 * created on: 2003-02-06
16 * created by: Ram Viswanadha
22 #include "unicode/utypes.h"
25 /* file definitions */
26 #define DATA_NAME "sprep"
27 #define DATA_TYPE "spp"
30 * data structure that holds the IDN properties for one or more
31 * code point(s) at build time
36 extern UBool beVerbose
, haveCopyright
;
41 setUnicodeVersion(const char *v
);
44 setUnicodeVersionNC(UVersionInfo version
);
51 storeMapping(uint32_t codepoint
, uint32_t* mapping
,int32_t length
, UStringPrepType type
, UErrorCode
* status
);
53 storeRange(uint32_t start
, uint32_t end
, UStringPrepType type
,UErrorCode
* status
);
57 generateData(const char *dataDir
, const char* bundleName
);
60 setOptions(int32_t options
);
67 storeIDN(uint32_t code, IDN *idn);
77 * Hey, Emacs, please set the following:
80 * indent-tabs-mode: nil