comparison src/gpf/ccd/ccddata_mconst.c @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : ccddata_mconst.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 : Ccddata abstraction for use in lib/dll. The four defines (MAX...
18 | from mconst.cdg are supplied as constants. In addition,
19 | corresponding functions deliver these constants.
20 +-----------------------------------------------------------------------------
21 */
22
23 #include "mconst.cdg"
24
25 #ifdef CCD_SYMBOLS
26 static int ccddata_ccdsymbols = 1;
27 #else /* CCD_SYMBOLS */
28 static int ccddata_ccdsymbols = 0;
29 #endif /* CCD_SYMBOLS */
30
31 const int ccddata_num_of_entities = NUM_OF_ENTITIES;
32 const int ccddata_max_message_id = MAX_MESSAGE_ID;
33 const int ccddata_max_bitstream_len = MAX_BITSTREAM_LEN;
34 const int ccddata_max_mstruct_len = MAX_MSTRUCT_LEN;
35
36 int ccddata_get_num_of_entities ()
37 {
38 return ccddata_num_of_entities;
39 }
40
41 int ccddata_get_max_message_id ()
42 {
43 return ccddata_max_message_id;
44 }
45
46 int ccddata_get_max_bitstream_len ()
47 {
48 return ccddata_max_bitstream_len;
49 }
50
51 int ccddata_get_max_mstruct_len ()
52 {
53 return ccddata_max_mstruct_len;
54 }
55
56 int ccddata_mccd_symbols ()
57 {
58 return ccddata_ccdsymbols;
59 }