intl/icu/source/tools/gensprep/gensprep.h

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

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

mercurial