xref: /src/contrib/opencsd/decoder/source/ocsd_version.cpp (revision c120c5646da1a1d2c4d90fd069a7e2a8d559eb46)
1a6157d81SRuslan Bukin /*
2a6157d81SRuslan Bukin  * \file       ocsd_version.cpp
3a6157d81SRuslan Bukin  * \brief      OpenCSD :
4a6157d81SRuslan Bukin  *
5a6157d81SRuslan Bukin  * \copyright  Copyright (c) 2015, ARM Limited. All Rights Reserved.
6a6157d81SRuslan Bukin  */
7a6157d81SRuslan Bukin 
8a6157d81SRuslan Bukin /*
9a6157d81SRuslan Bukin  * Redistribution and use in source and binary forms, with or without modification,
10a6157d81SRuslan Bukin  * are permitted provided that the following conditions are met:
11a6157d81SRuslan Bukin  *
12a6157d81SRuslan Bukin  * 1. Redistributions of source code must retain the above copyright notice,
13a6157d81SRuslan Bukin  * this list of conditions and the following disclaimer.
14a6157d81SRuslan Bukin  *
15a6157d81SRuslan Bukin  * 2. Redistributions in binary form must reproduce the above copyright notice,
16a6157d81SRuslan Bukin  * this list of conditions and the following disclaimer in the documentation
17a6157d81SRuslan Bukin  * and/or other materials provided with the distribution.
18a6157d81SRuslan Bukin  *
19a6157d81SRuslan Bukin  * 3. Neither the name of the copyright holder nor the names of its contributors
20a6157d81SRuslan Bukin  * may be used to endorse or promote products derived from this software without
21a6157d81SRuslan Bukin  * specific prior written permission.
22a6157d81SRuslan Bukin  *
23a6157d81SRuslan Bukin  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND
24a6157d81SRuslan Bukin  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25a6157d81SRuslan Bukin  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26a6157d81SRuslan Bukin  * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27a6157d81SRuslan Bukin  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28a6157d81SRuslan Bukin  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29a6157d81SRuslan Bukin  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30a6157d81SRuslan Bukin  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31a6157d81SRuslan Bukin  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32a6157d81SRuslan Bukin  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33a6157d81SRuslan Bukin  */
34a6157d81SRuslan Bukin 
35cf98ba14SRuslan Bukin #include "opencsd/ocsd_if_version.h"
36a6157d81SRuslan Bukin #include "common/ocsd_version.h"
37a6157d81SRuslan Bukin 
vers_num()38a6157d81SRuslan Bukin const uint32_t ocsdVersion::vers_num()
39a6157d81SRuslan Bukin {
40a6157d81SRuslan Bukin     return OCSD_VER_NUM;
41a6157d81SRuslan Bukin }
42a6157d81SRuslan Bukin 
vers_str()43a6157d81SRuslan Bukin const char *ocsdVersion::vers_str()
44a6157d81SRuslan Bukin {
45a6157d81SRuslan Bukin     return OCSD_VER_STRING;
46a6157d81SRuslan Bukin }
47a6157d81SRuslan Bukin 
48a6157d81SRuslan Bukin /* End of File ocsd_version.cpp */
49