1ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* 2ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru******************************************************************************* 3ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 4ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Copyright (C) 1998-2003, International Business Machines 5ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Corporation and others. All Rights Reserved. 6ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 7ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru******************************************************************************* 8ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 9ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* File read.h 10ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 11ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Modification History: 12ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 13ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* Date Name Description 14ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 05/26/99 stephen Creation. 15ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru* 5/10/01 Ram removed ustdio dependency 16ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru******************************************************************************* 17ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru*/ 18ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 19ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#ifndef PRSCMNTS_H 20ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#define PRSCMNTS_H 1 21ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 22ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#if UCONFIG_NO_REGULAR_EXPRESSIONS==0 /* donot compile when no RegularExpressions are available */ 23ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 24ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruenum UParseCommentsOption { 25ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UPC_TRANSLATE, 26ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UPC_NOTE, 27ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UPC_LIMIT 28ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru}; 29ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 30ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querutypedef enum UParseCommentsOption UParseCommentsOption; 31ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 32ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_CFUNC int32_t 33ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QuerugetNote(const UChar* source, int32_t srcLen, 34ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UChar** dest, int32_t destCapacity, 35ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UErrorCode* status); 36ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_CFUNC int32_t 37ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruremoveCmtText(UChar* source, int32_t srcLen, UErrorCode* status); 38ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 39ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_CFUNC int32_t 40ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QuerugetDescription( const UChar* source, int32_t srcLen, 41ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UChar** dest, int32_t destCapacity, 42ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UErrorCode* status); 43ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_CFUNC int32_t 44ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QuerugetTranslate( const UChar* source, int32_t srcLen, 45ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UChar** dest, int32_t destCapacity, 46ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UErrorCode* status); 47ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 48ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_CFUNC int32_t 49ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QuerugetAt(const UChar* source, int32_t srcLen, 50ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UChar** dest, int32_t destCapacity, 51ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru int32_t index, 52ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UParseCommentsOption option, 53ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UErrorCode* status); 54ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 55ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QueruU_CFUNC int32_t 56ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste QuerugetCount(const UChar* source, int32_t srcLen, 57ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru UParseCommentsOption option, UErrorCode *status); 58ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 59ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif /* UCONFIG_NO_REGULAR_EXPRESSIONS */ 60ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 61ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#endif 62ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru 63