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