comparison src/gpf/ccd/ccddata_version.c @ 5:1ea54a97e831

src/gpf: import of Magnetite src/gpf3
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 08:11:07 +0000
parents
children
comparison
equal deleted inserted replaced
4:6e457872f745 5:1ea54a97e831
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : ccddata_version.c
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : This files supplies function delivering version information
18 | about ccddata and the tables.
19 +-----------------------------------------------------------------------------
20 */
21
22 /*==== INCLUDES =============================================================*/
23 static char*
24 #include "ccddata_version.h"
25 ;
26
27 #include "typedefs.h"
28 #include "ccdtable.h"
29
30 /*==== CONSTS ================================================================*//*==== TYPES =================================================================*/
31 /*==== LOCALS ================================================================*/
32 /*==== PRIVATE FUNCTIONS =====================================================*/
33 /*==== PUBLIC FUNCTIONS ======================================================*/
34
35 /*
36 +------------------------------------------------------------------------------
37 | Function : ccddata_get_version
38 +------------------------------------------------------------------------------
39 | Description : Deliver the version of ccddata. In ccddata_version.h the
40 | variable CCDDATA_VERSION defines a string containing the
41 | version information. This file may only contain one line
42 | CCDDATA_VERSION="X.Y.Z"
43 | because it is also used by ccddata.mk.
44 |
45 | Parameters : none
46 |
47 | Return : The string containing the version information.
48 +------------------------------------------------------------------------------
49 */
50
51 char* ccddata_get_version ()
52 {
53 return CCDDATA_VERSION;
54 }
55
56 /*
57 +------------------------------------------------------------------------------
58 | Function : ccddata_get_table_version
59 +------------------------------------------------------------------------------
60 | Description : Deliver the version of ccddata tables.
61 | The version is a constant from ccdtable.h and is increased
62 | if the tables format changes.
63 |
64 | Parameters : none
65 |
66 | Return : The version number.
67 +------------------------------------------------------------------------------
68 */
69
70 int ccddata_get_table_version ()
71 {
72 return CCDDATA_TABLE_VERSION;
73 }