]>
git.saurik.com Git - apple/icu.git/blob - icuSources/tools/gensprep/gensprep.h
2 *******************************************************************************
4 * Copyright (C) 1999-2006, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
8 * file name: gensprep.h
10 * tab size: 8 (not used)
13 * created on: 2003-02-06
14 * created by: Ram Viswanadha
20 #include "unicode/utypes.h"
23 /* file definitions */
24 #define DATA_NAME "sprep"
25 #define DATA_TYPE "spp"
28 * data structure that holds the IDN properties for one or more
29 * code point(s) at build time
34 extern UBool beVerbose
, haveCopyright
;
39 setUnicodeVersion(const char *v
);
42 setUnicodeVersionNC(UVersionInfo version
);
49 storeMapping(uint32_t codepoint
, uint32_t* mapping
,int32_t length
, UStringPrepType type
, UErrorCode
* status
);
51 storeRange(uint32_t start
, uint32_t end
, UStringPrepType type
,UErrorCode
* status
);
55 generateData(const char *dataDir
, const char* bundleName
);
58 setOptions(int32_t options
);
65 storeIDN(uint32_t code, IDN *idn);
75 * Hey, Emacs, please set the following:
78 * indent-tabs-mode: nil