FreeCalypso > hg > leo2moko-debug
comparison g23m/condat/ms/src/aci/gaci_srcc.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : | |
4 | Modul : | |
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 : source control management for GACI. | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 #ifndef GACI_SRCC_H | |
22 #define GACI_SRCC_H | |
23 | |
24 | |
25 typedef enum { | |
26 SRRC_SNDCP_ENTITY = 0, | |
27 SRRC_PPPS_ENTITY, | |
28 SRRC_SIM_ENTITY, | |
29 #ifdef CO_UDP_IP | |
30 SRRC_IP_ENTITY, | |
31 #endif | |
32 #ifdef FF_GPF_TCPIP | |
33 SRRC_TCPIP_ENTITY, | |
34 #endif /* FF_GPF_TCPIP */ | |
35 SRRC_MAX_ENTITY | |
36 | |
37 } SRCC_ENTITY_ID; | |
38 | |
39 | |
40 typedef enum { | |
41 SRCC_INVALID_LINK = -1, | |
42 SRCC_PPPS_SNDCP_LINK, | |
43 SRCC_NULL_SNDCP_LINK, | |
44 SRCC_SIM_SNDCP_LINK, | |
45 #if defined (FF_PKTIO) OR defined (FF_TCP_IP) OR defined(FF_GPF_TCPIP) OR defined(FF_PSI) | |
46 SRCC_PKTIO_SNDCP_LINK, | |
47 #endif /* FF_PKTIO OR FF_TCP_IP OR FF_GPF_TCPIP OR FF_PSI */ | |
48 #if defined(FF_GPF_TCPIP) | |
49 SRCC_TCPIP_SNDCP_LINK, | |
50 #endif /* FF_GPF_TCPIP */ | |
51 SRCC_IP_SNDCP_LINK, | |
52 SRCC_MAX_LINK | |
53 | |
54 } SRCC_LINK_NO; | |
55 | |
56 | |
57 /*********************************************************************/ | |
58 /** START ** This will be defined in the SAP of the entity ** START **/ | |
59 | |
60 #ifndef MAX_SNDCP_INSTANCES | |
61 #define MAX_SNDCP_INSTANCES 11 | |
62 #endif | |
63 | |
64 #ifndef MAX_PPPS_INSTANCES | |
65 #define MAX_PPPS_INSTANCES 1 | |
66 #endif | |
67 | |
68 #ifndef MAX_SIM_INSTANCES | |
69 #define MAX_SIM_INSTANCES 1 | |
70 #endif | |
71 | |
72 /************ WAP ************/ | |
73 #ifdef CO_UDP_IP | |
74 #ifndef MAX_IP_INSTANCES | |
75 #define MAX_IP_INSTANCES 1 | |
76 #endif | |
77 #endif | |
78 #ifdef FF_GPF_TCPIP | |
79 #ifndef MAX_TCPIP_INSTANCES | |
80 #define MAX_TCPIP_INSTANCES 1 | |
81 #endif | |
82 #endif | |
83 /************ WAP ************/ | |
84 /*** END *** This will be defined in the SAP of the entity *** END ***/ | |
85 /*********************************************************************/ | |
86 | |
87 | |
88 | |
89 | |
90 | |
91 /* | |
92 * function declarations | |
93 */ | |
94 EXTERN void srcc_init ( void ); | |
95 EXTERN void srcc_new_count ( SRCC_LINK_NO link_no ); | |
96 EXTERN void srcc_delete_count ( SRCC_LINK_NO link_no ); | |
97 EXTERN BOOL srcc_reserve_sources ( SRCC_LINK_NO link_no, SHORT no ); | |
98 | |
99 #endif | |
100 |