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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/tools/gensprep/gensprep.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,81 @@
     1.4 +/*
     1.5 +*******************************************************************************
     1.6 +*
     1.7 +*   Copyright (C) 1999-2006, International Business Machines
     1.8 +*   Corporation and others.  All Rights Reserved.
     1.9 +*
    1.10 +*******************************************************************************
    1.11 +*   file name:  gensprep.h
    1.12 +*   encoding:   US-ASCII
    1.13 +*   tab size:   8 (not used)
    1.14 +*   indentation:4
    1.15 +*
    1.16 +*   created on: 2003-02-06
    1.17 +*   created by: Ram Viswanadha
    1.18 +*/
    1.19 +
    1.20 +#ifndef __GENIDN_H__
    1.21 +#define __GENIDN_H__
    1.22 +
    1.23 +#include "unicode/utypes.h"
    1.24 +#include "sprpimpl.h"
    1.25 +
    1.26 +/* file definitions */
    1.27 +#define DATA_NAME "sprep"
    1.28 +#define DATA_TYPE "spp"
    1.29 +
    1.30 +/*
    1.31 + * data structure that holds the IDN properties for one or more
    1.32 + * code point(s) at build time
    1.33 + */
    1.34 +
    1.35 + 
    1.36 +/* global flags */
    1.37 +extern UBool beVerbose, haveCopyright;
    1.38 +
    1.39 +/* prototypes */
    1.40 +
    1.41 +extern void
    1.42 +setUnicodeVersion(const char *v);
    1.43 +
    1.44 +extern void
    1.45 +setUnicodeVersionNC(UVersionInfo version);
    1.46 +
    1.47 +extern void
    1.48 +init(void);
    1.49 +
    1.50 +#if !UCONFIG_NO_IDNA
    1.51 +extern void
    1.52 +storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
    1.53 +extern void
    1.54 +storeRange(uint32_t start, uint32_t end, UStringPrepType type,UErrorCode* status);
    1.55 +#endif
    1.56 +
    1.57 +extern void
    1.58 +generateData(const char *dataDir, const char* bundleName);
    1.59 +
    1.60 +extern void
    1.61 +setOptions(int32_t options);
    1.62 +
    1.63 +extern void
    1.64 +cleanUpData(void);
    1.65 +
    1.66 +/*
    1.67 +extern void
    1.68 +storeIDN(uint32_t code, IDN *idn);
    1.69 +
    1.70 +extern void
    1.71 +processData(void);
    1.72 +
    1.73 +
    1.74 +*/
    1.75 +#endif
    1.76 +
    1.77 +/*
    1.78 + * Hey, Emacs, please set the following:
    1.79 + *
    1.80 + * Local Variables:
    1.81 + * indent-tabs-mode: nil
    1.82 + * End:
    1.83 + *
    1.84 + */

mercurial