comparison src/aci2/aci/aci_sc.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : J:\g23m-aci\aci\aci_sc.h
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 :
18 +-----------------------------------------------------------------------------
19 */
20 #ifndef ACI_SC_H
21 #define ACI_SC_H
22
23
24 #define SC_NONE_INSTANCE 0
25
26
27 typedef enum { SC_INST_PPPS_NONE = SC_NONE_INSTANCE,
28 SC_INST_PPPS = 1,
29 SC_INST_PPPS_END } T_SC_INST_PPPS;
30
31 typedef enum { SC_INST_PPPC_NONE = SC_NONE_INSTANCE,
32 SC_INST_PPPC = SC_INST_PPPS_END,
33 SC_INST_PPPC_END } T_SC_INST_PPPC;
34
35 typedef enum { SC_INST_IP_NONE = SC_NONE_INSTANCE,
36 SC_INST_IP = SC_INST_PPPC_END,
37 SC_INST_IP_END } T_SC_INST_IP;
38
39 typedef enum { SC_INST_GACI_NONE = SC_NONE_INSTANCE,
40 SC_INST_GACI = SC_INST_IP_END,
41 SC_INST_GACI_END } T_SC_INST_GACI;
42
43 typedef enum { SC_SRC_NONE = 0,
44 SC_SRC_PPPS, /* PPP server */
45 SC_SRC_PPPC, /* PPP client */
46 SC_SRC_IP, /* IP entity */
47 SC_SRC_GACI,
48 SC_SRC_MAX } T_SC_SRC;
49
50 typedef struct { long field;
51 UBYTE count;
52 UBYTE start;
53 UBYTE end; } T_SC_INST_INFO;
54
55 /*
56 ** connected Instances for GACI
57 */
58 enum FOR_CONNECTION_TO_GACI{ MAX_CONNECTED_INSTANCES_TO_GACI =
59 SC_INST_PPPS_END + SC_INST_PPPC_END + SC_INST_IP_END -
60 SC_INST_PPPS - SC_INST_PPPC - SC_INST_IP };
61
62 #endif /* ACI_SC_H */