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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/tools/genrb/prscmnts.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,62 @@
     1.4 +/*
     1.5 +*******************************************************************************
     1.6 +*
     1.7 +*   Copyright (C) 1998-2003, International Business Machines
     1.8 +*   Corporation and others.  All Rights Reserved.
     1.9 +*
    1.10 +*******************************************************************************
    1.11 +*
    1.12 +* File read.h
    1.13 +*
    1.14 +* Modification History:
    1.15 +*
    1.16 +*   Date        Name        Description
    1.17 +*   05/26/99    stephen     Creation.
    1.18 +*   5/10/01     Ram         removed ustdio dependency
    1.19 +*******************************************************************************
    1.20 +*/
    1.21 +
    1.22 +#ifndef PRSCMNTS_H
    1.23 +#define PRSCMNTS_H 1
    1.24 +
    1.25 +#if UCONFIG_NO_REGULAR_EXPRESSIONS==0 /* donot compile when no RegularExpressions are available */
    1.26 +
    1.27 +enum UParseCommentsOption {
    1.28 +    UPC_TRANSLATE,
    1.29 +    UPC_NOTE,
    1.30 +    UPC_LIMIT
    1.31 +};
    1.32 +
    1.33 +typedef enum UParseCommentsOption UParseCommentsOption;
    1.34 +
    1.35 +U_CFUNC int32_t 
    1.36 +getNote(const UChar* source, int32_t srcLen,
    1.37 +        UChar** dest, int32_t destCapacity,
    1.38 +        UErrorCode* status);
    1.39 +U_CFUNC int32_t 
    1.40 +removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status);
    1.41 +
    1.42 +U_CFUNC int32_t
    1.43 +getDescription( const UChar* source, int32_t srcLen,
    1.44 +                UChar** dest, int32_t destCapacity,
    1.45 +                UErrorCode* status);
    1.46 +U_CFUNC int32_t
    1.47 +getTranslate( const UChar* source, int32_t srcLen,
    1.48 +              UChar** dest, int32_t destCapacity,
    1.49 +              UErrorCode* status);
    1.50 +
    1.51 +U_CFUNC int32_t
    1.52 +getAt(const UChar* source, int32_t srcLen,
    1.53 +        UChar** dest, int32_t destCapacity,
    1.54 +        int32_t index,
    1.55 +        UParseCommentsOption option,
    1.56 +        UErrorCode* status);
    1.57 +
    1.58 +U_CFUNC int32_t
    1.59 +getCount(const UChar* source, int32_t srcLen, 
    1.60 +         UParseCommentsOption option, UErrorCode *status);
    1.61 +
    1.62 +#endif /* UCONFIG_NO_REGULAR_EXPRESSIONS */
    1.63 +
    1.64 +#endif
    1.65 +

mercurial