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.

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

mercurial