1/*
2**********************************************************************
3* Copyright (C) 1999-2006, International Business Machines
4* Corporation and others. All Rights Reserved.
5**********************************************************************
6* file name: umisc.h
7* encoding: US-ASCII
8* tab size: 8 (not used)
9* indentation:4
10*
11* created on: 1999oct15
12* created by: Markus W. Scherer
13*/
14
15#ifndef UMISC_H
16#define UMISC_H
17
18#include "unicode/utypes.h"
19
20/**
21 * \file
22 * \brief C API:misc definitions
23 *
24 * This file contains miscellaneous definitions for the C APIs.
25 */
26
27U_CDECL_BEGIN
28
29/** A struct representing a range of text containing a specific field
30 * @stable ICU 2.0
31 */
32typedef struct UFieldPosition {
33 /**
34 * The field
35 * @stable ICU 2.0
36 */
37 int32_t field;
38 /**
39 * The start of the text range containing field
40 * @stable ICU 2.0
41 */
42 int32_t beginIndex;
43 /**
44 * The limit of the text range containing field
45 * @stable ICU 2.0
46 */
47 int32_t endIndex;
48} UFieldPosition;
49
50#if !UCONFIG_NO_SERVICE
51/**
52 * Opaque type returned by registerInstance, registerFactory and unregister for service registration.
53 * @stable ICU 2.6
54 */
55typedef const void* URegistryKey;
56#endif
57
58U_CDECL_END
59
60#endif
61