1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 ******************************************************************************
5 *
6 *   Copyright (C) 2009-2013, International Business Machines
7 *   Corporation and others.  All Rights Reserved.
8 *
9 ******************************************************************************
10 */
11 
12 
13 /**
14  * \file
15  * \brief C API: access to ICU Data Version number
16  */
17 
18 #ifndef __ICU_DATA_VER_H__
19 #define __ICU_DATA_VER_H__
20 
21 #include "unicode/utypes.h"
22 
23 /**
24  * @stable ICU 49
25  */
26 #define U_ICU_VERSION_BUNDLE "icuver"
27 
28 /**
29  * @stable ICU 49
30  */
31 #define U_ICU_DATA_KEY "DataVersion"
32 
33 /**
34  * Retrieves the data version from icuver and stores it in dataVersionFillin.
35  *
36  * @param dataVersionFillin icuver data version information to be filled in if not-null
37  * @param status stores the error code from the calls to resource bundle
38  *
39  * @stable ICU 49
40  */
41 U_STABLE void U_EXPORT2 u_getDataVersion(UVersionInfo dataVersionFillin, UErrorCode *status);
42 
43 #endif
44