sl@0: /* sl@0: ********************************************************************** sl@0: * Copyright (C) 1999-2003, International Business Machines sl@0: * Corporation and others. All Rights Reserved. sl@0: ********************************************************************** sl@0: * file name: umisc.h sl@0: * encoding: US-ASCII sl@0: * tab size: 8 (not used) sl@0: * indentation:4 sl@0: * sl@0: * created on: 1999oct15 sl@0: * created by: Markus W. Scherer sl@0: */ sl@0: sl@0: #ifndef UMISC_H sl@0: #define UMISC_H sl@0: sl@0: #include "unicode/utypes.h" sl@0: sl@0: /** sl@0: * \file sl@0: * \brief C API:misc definitions sl@0: * sl@0: * This file contains miscellaneous definitions for the C APIs. sl@0: */ sl@0: sl@0: /** A struct representing a range of text containing a specific field sl@0: * @stable ICU 2.0 sl@0: */ sl@0: typedef struct UFieldPosition { sl@0: /** sl@0: * The field sl@0: * @stable ICU 2.0 sl@0: */ sl@0: int32_t field; sl@0: /** sl@0: * The start of the text range containing field sl@0: * @stable ICU 2.0 sl@0: */ sl@0: int32_t beginIndex; sl@0: /** sl@0: * The limit of the text range containing field sl@0: * @stable ICU 2.0 sl@0: */ sl@0: int32_t endIndex; sl@0: } UFieldPosition; sl@0: sl@0: #endif