tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

gensprep.h (1623B)


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