intl/icu/source/tools/genrb/prscmnts.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /*
     2 *******************************************************************************
     3 *
     4 *   Copyright (C) 1998-2003, International Business Machines
     5 *   Corporation and others.  All Rights Reserved.
     6 *
     7 *******************************************************************************
     8 *
     9 * File read.h
    10 *
    11 * Modification History:
    12 *
    13 *   Date        Name        Description
    14 *   05/26/99    stephen     Creation.
    15 *   5/10/01     Ram         removed ustdio dependency
    16 *******************************************************************************
    17 */
    19 #ifndef PRSCMNTS_H
    20 #define PRSCMNTS_H 1
    22 #if UCONFIG_NO_REGULAR_EXPRESSIONS==0 /* donot compile when no RegularExpressions are available */
    24 enum UParseCommentsOption {
    25     UPC_TRANSLATE,
    26     UPC_NOTE,
    27     UPC_LIMIT
    28 };
    30 typedef enum UParseCommentsOption UParseCommentsOption;
    32 U_CFUNC int32_t 
    33 getNote(const UChar* source, int32_t srcLen,
    34         UChar** dest, int32_t destCapacity,
    35         UErrorCode* status);
    36 U_CFUNC int32_t 
    37 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status);
    39 U_CFUNC int32_t
    40 getDescription( const UChar* source, int32_t srcLen,
    41                 UChar** dest, int32_t destCapacity,
    42                 UErrorCode* status);
    43 U_CFUNC int32_t
    44 getTranslate( const UChar* source, int32_t srcLen,
    45               UChar** dest, int32_t destCapacity,
    46               UErrorCode* status);
    48 U_CFUNC int32_t
    49 getAt(const UChar* source, int32_t srcLen,
    50         UChar** dest, int32_t destCapacity,
    51         int32_t index,
    52         UParseCommentsOption option,
    53         UErrorCode* status);
    55 U_CFUNC int32_t
    56 getCount(const UChar* source, int32_t srcLen, 
    57          UParseCommentsOption option, UErrorCode *status);
    59 #endif /* UCONFIG_NO_REGULAR_EXPRESSIONS */
    61 #endif

mercurial