comparison g23m/condat/ms/src/aci/gaci_cmh.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 : GPRS Command handler interface definitions.
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef GACI_CMH_H
22 #define GACI_CMH_H
23
24
25 /*==== MACROS =====================================================*/
26 #define GPRS_EVENT_REPORTING_BUFFER_SIZE 10
27
28 /*==== DEFINES ====================================================*/
29 /* the maximum length of strings to describe the PDP typ, PDP address, APN and L2P */
30 #define MAX_PDP_TYPE_LEN 7
31 #define MAX_APN_LEN 103
32 #define MAX_DNS_LEN 15
33 #define MAX_USER_LEN 63 /* this is a common value for Routers etc... */
34 #define MAX_PWD_LEN 63
35 #define MAX_PDP_ADDR_LEN 21
36 #if defined (FF_PKTIO) OR defined (FF_TCP_IP) || defined(FF_GPF_TCPIP) OR defined (FF_PSI)
37 #define MAX_L2P_LENGTH 6
38 #else /* FF_PKTIO || FF_TCP_IP || FF_GPF_TCPIP OR FF_PSI */
39 #define MAX_L2P_LENGTH 4
40 #endif /* FF_PKTIO || FF_TCP_IP || FF_GPF_TCPIP OR FF_PSI */
41
42 typedef enum /* CGDCONT command d_comp */
43 {
44 GPRS_CID_OMITTED = 0, /* value is omitted */
45 GPRS_CID_1, /* PDP data compression off (default) */
46 GPRS_CID_2, /* PDP data compression on */
47 #if defined (FF_PKTIO) OR defined (FF_PSI)
48 GPRS_CID_3,
49 GPRS_CID_4,
50 GPRS_CID_5,
51 GPRS_CID_6,
52 #endif /* FF_PKTIO OR FF_PSI */
53 GPRS_CID_INVALID /* invalid value */
54
55 } T_GPRS_CID;
56
57 #define INVALID_CID GPRS_CID_OMITTED
58
59 #if defined (FF_PKTIO) OR defined (FF_PSI)
60 #define MAX_CID GPRS_CID_6
61 #else /* FF_PKTIO OR FF_PSI */
62 #define MAX_CID GPRS_CID_2
63 #endif /* FF_PKTIO OR FF_PSI */
64
65 #define MAX_CID_PLUS_EINS GPRS_CID_INVALID
66
67 /*==== TYPES ======================================================*/
68 #define GPRS_QOS_OMITTED 0
69
70 typedef struct
71 {
72 UBYTE preced;
73 UBYTE delay;
74 UBYTE relclass;
75 UBYTE peak;
76 UBYTE mean;
77 } T_QOS;
78
79 typedef char T_PDP_ADDRESS [MAX_PDP_ADDR_LEN];
80 typedef char T_PDP_TYPE [MAX_PDP_TYPE_LEN];
81 typedef char T_APN [MAX_APN_LEN];
82 typedef char T_L2P [MAX_L2P_LENGTH];
83
84 typedef struct
85 {
86 T_APN apn;
87 T_PDP_TYPE pdp_type;
88 T_PDP_ADDRESS pdp_addr;
89 SHORT d_comp;
90 SHORT h_comp;
91 T_QOS qos;
92 T_QOS min_qos;
93 } T_GPRS_CONT_REC;
94
95 /*---- Types of -----------------------------------------*/
96 typedef enum /* CGDCONT command d_comp */
97 {
98 CGDCONT_D_COMP_OMITTED = -1, /* value is omitted */
99 CGDCONT_D_COMP_OFF, /* PDP data compression off (default) */
100 CGDCONT_D_COMP_ON, /* PDP data compression on */
101 CGDCONT_D_COMP_INVALID /* invalid value */
102
103 } T_CGDCONT_D_COMP;
104
105 typedef enum /* CGDCONT command h_comp */
106 {
107 CGDCONT_H_COMP_OMITTED = -1, /* value is omitted */
108 CGDCONT_H_COMP_OFF, /* PDP header compression off (default) */
109 CGDCONT_H_COMP_ON, /* PDP header compression on */
110 CGDCONT_H_COMP_INVALID /* invalid value */
111
112 } T_CGDCONT_H_COMP;
113
114 typedef enum /* CGATT command state */
115 {
116 CGATT_STATE_OMITTED = -1, /* value is omitted */
117 CGATT_STATE_DETACHED, /* GPRS detached */
118 CGATT_STATE_ATTACHED, /* GPRS attached */
119 CGATT_STATE_INVALID /* invalid value */
120
121 } T_CGATT_STATE;
122
123 typedef enum /* CGACT command state */
124 {
125 CGACT_STATE_OMITTED = -1, /* value is omitted */
126 CGACT_STATE_DEACTIVATED, /* PDP context detached */
127 CGACT_STATE_ACTIVATED, /* PDP context attached */
128 CGACT_STATE_INVALID /* invalid value */
129
130 } T_CGACT_STATE;
131
132 typedef enum /* CGAUTO command n */
133 {
134 CGAUTO_N_OMITTED = -1, /* value is omitted */
135 CGAUTO_N_GPRS_RES_OFF, /* turn off automatic response for GPRS only */
136 CGAUTO_N_GPRS_RES_ON, /* turn on automatic response for GPRS only */
137 CGAUTO_N_MCM_GPRS_ONLY, /* modem compabitbility mode, GPRS only */
138 CGAUTO_N_MCM_GPRS_CSC, /* modem compabitbility mode, GPRS and circuit switched calls (default) */
139 CGAUTO_N_INVALID /* invalid value */
140
141 } T_CGAUTO_N;
142
143 typedef enum /* CGANS command response */
144 {
145 CGANS_RESPONSE_OMITTED = -1, /* value is omitted */
146 CGANS_RESPONSE_REJECT, /* reject the request */
147 CGANS_RESPONSE_ACCEPT, /* accept and request that the PDP context be activated */
148 CGANS_RESPONSE_INVALID /* invalid value */
149
150 } T_CGANS_RESPONSE;
151
152 typedef enum /* CGANS command response */
153 {
154 CGCLASS_CLASS_OMITTED = -1, /* value is omitted */
155 CGCLASS_CLASS_A, /* mobile class A (highest) */
156 CGCLASS_CLASS_B, /* mobile class B (if necessary consider NET III) */
157 CGCLASS_CLASS_CG, /* mobile class CG (GPRS only mode) */
158 CGCLASS_CLASS_CC, /* mobile class CC (circuit switched only mode - lowest) */
159 CGCLASS_CLASS_MAX /* invalid value */
160
161 } T_CGCLASS_CLASS;
162
163 typedef enum /* CGANS command response */
164 {
165 PERCENT_CGCLASS_OMITTED = -1, /* value is omitted */
166 PERCENT_CGCLASS_A, /* mobile class A (highest) */
167 PERCENT_CGCLASS_B, /* mobile class B */
168 PERCENT_CGCLASS_BG, /* mobile class BG */
169 PERCENT_CGCLASS_BC, /* mobile class BC */
170 PERCENT_CGCLASS_BX, /* mobile class BX */
171 PERCENT_CGCLASS_CG, /* mobile class CG (GPRS only mode) */
172 PERCENT_CGCLASS_CC, /* mobile class CC (circuit switched only mode - lowest) */
173 PERCENT_CGCLASS_MAX /* invalid value */
174
175 } T_PERCENT_CGCLASS;
176
177 typedef enum /* CGEREP command mode */
178 {
179 CGEREP_MODE_OMITTED = -1, /* value is omitted */
180 CGEREP_MODE_BUFFER, /* buffer unsolicited result codes */
181 CGEREP_MODE_DICARD_RESERVED, /* discard unsolicited result codes when MT-TE link is reserved */
182 CGEREP_MODE_BUFFER_RESERVED, /* buffer unsolicited result codes in the MT when MT-TE link is reserved */
183 CGEREP_MODE_INVALID /* invalid value */
184
185 } T_CGEREP_MODE;
186
187 typedef enum /* CGEREP command bfr */
188 {
189 CGEREP_BFR_OMITTED = -1, /* value is omitted */
190 CGEREP_BFR_CLEAR, /* buffer unsolicited result codes */
191 CGEREP_BFR_FLUSH, /* discard unsolicited result codes when MT-TE link is reserved */
192 CGEREP_BFR_INVALID /* invalid value */
193
194 } T_CGEREP_BFR;
195
196 typedef enum /* CGREG command read stat */
197 {
198 CGREG_STAT_NOT_PRESENT = -1, /* not present, last state is not indicated */
199 CGREG_STAT_NOT_REG, /* not registered, no searching */
200 CGREG_STAT_REG_HOME, /* registered, home network */
201 CGREG_STAT_SEARCHING, /* not registered, but searching */
202 CGREG_STAT_REG_DEN, /* registration denied */
203 CGREG_STAT_UNKN, /* unknown */
204 CGREG_STAT_REG_ROAM /* registered, roaming */
205
206 } T_CGREG_STAT;
207
208 typedef enum /* %CGREG command read stat */
209 {
210 P_CGREG_STAT_NOT_PRESENT = -1, /* not present, last state is not indicated */
211 P_CGREG_STAT_NOT_REG, /* not registered, no searching */
212 P_CGREG_STAT_REG_HOME, /* registered, home network */
213 P_CGREG_STAT_SEARCHING, /* not registered, but searching */
214 P_CGREG_STAT_REG_DEN, /* registration denied */
215 P_CGREG_STAT_UNKN, /* unknown */
216 P_CGREG_STAT_REG_ROAM, /* registered, roaming */
217 P_CGREG_STAT_LIMITED, /* limited service */
218 P_CGREG_STAT_GSM_CALL, /* GSM call is active */
219 P_CGREG_STAT_NO_CELL, /* no cell available */
220 P_CGREG_STAT_TRY_TO_UPDATE /* next attempt to update MS */
221
222 } T_P_CGREG_STAT;
223
224
225 typedef enum /* CGSMS command service */
226 {
227 CGSMS_SERVICE_OMITTED = -1, /* value is omitted */
228 CGSMS_SERVICE_GPRS, /* GPRS */
229 CGSMS_SERVICE_CS, /* circuit switched */
230 CGSMS_SERVICE_GPRS_PREFERRED, /* GPRS preferred */
231 CGSMS_SERVICE_CS_PREFERRED, /* circuit switched preferred */
232 CGSMS_SERVICE_INVALID /* invalid value */
233
234 } T_CGSMS_SERVICE;
235
236 typedef enum /* CGAATT command automatic attach mode */
237 {
238 CGAATT_ATTACH_MODE_OMITTED = -1, /* value is omitted */
239 CGAATT_ATTACH_MODE_AUTOMATIC, /* automatic attach */
240 CGAATT_ATTACH_MODE_MANUAL, /* manual attach */
241 CGAATT_ATTACH_MODE_INVALID /* invalid value */
242
243 } T_CGAATT_ATTACH_MODE;
244
245 typedef enum /* CGAATT command automatic detach after context deactivation */
246 {
247 CGAATT_DETACH_MODE_OMITTED = -1, /* value is omitted */
248 CGAATT_DETACH_MODE_ON, /* on */
249 CGAATT_DETACH_MODE_OFF, /* off */
250 CGAATT_DETACH_MODE_INVALID /* invalid value */
251
252 } T_CGAATT_DETACH_MODE;
253
254 /*---- Types for event reporting-----------------------------------*/
255
256 typedef enum /* Defined events for GPRS event reporting */
257 {
258 CGEREP_EVENT_INVALID = -1, /* reserved value */
259 CGEREP_EVENT_REJECT, /* network request context activation */
260 CGEREP_EVENT_NW_REACT, /* network requested context reactivation */
261 CGEREP_EVENT_NW_DEACT, /* network forced context deactivation */
262 CGEREP_EVENT_ME_DEACT, /* mobile equipment forced context deactivation */
263 CGEREP_EVENT_NW_DETACH, /* network forced detach */
264 CGEREP_EVENT_ME_DETACH, /* mobile equipment forced detach */
265 CGEREP_EVENT_NW_CLASS, /* network forced class change */
266 CGEREP_EVENT_ME_CLASS, /* mobile equipment forced class change */
267 CGEREP_EVENT_NW_ACT, /* network requested context activation */
268 CGEREP_EVENT_ME_ACT /* mobile equipment initiated context activation */
269 } T_CGEREP_EVENT;
270
271 typedef struct /* parameter of unsolicited event: REJECT */
272 {
273 T_PDP_TYPE pdp_type;
274 T_PDP_ADDRESS pdp_addr;
275
276 } T_EVENT_REJECT;
277
278 typedef struct /* parameter of unsolicited event: NW REACT, NW DEACT, ME DEACT */
279 {
280 T_PDP_TYPE pdp_type;
281 T_PDP_ADDRESS pdp_addr;
282 SHORT cid;
283
284 } T_EVENT_ACT;
285
286 typedef union
287 {
288 T_EVENT_REJECT reject;
289 T_EVENT_ACT act;
290 T_CGCLASS_CLASS mobile_class;
291
292 } T_CGEREP_EVENT_REP_PARAM;
293
294 /*---- %CGPCO -----------------------------------------------------*/
295
296 #define ACI_PCO_MAX_LEN 251
297 #define ACI_PCO_CONTENTMASK_AUTH 0x00000001
298 #define ACI_PCO_CONTENTMASK_DNS1 0x00000002
299 #define ACI_PCO_CONTENTMASK_DNS2 0x00000004
300
301 #define ACI_PCO_CONFIG_PROT_PPP 0
302
303 #define ACI_PCO_AUTH_PROT_PAP 0xc023
304
305 #define ACI_PCO_PAP_OVERHEAD 9
306 #define ACI_PCO_IPCP_OVERHEAD 7
307 #define ACI_PCO_PAP_AUTH_REQ 0x01
308 #define ACI_PCO_IPCP_PROT_MSB 0x80
309 #define ACI_PCO_IPCP_PROT_LSB 0x21
310 #define ACI_PCO_IPCP_CONF_REQ 0x01
311 #define ACI_PCO_IPCP_CONF_ACK 0x02
312 #define ACI_PCO_IPCP_CONF_NAK 0x03
313 #define ACI_PCO_IPCP_TYPE_IP 3
314 #define ACI_PCO_IPCP_TYPE_DNS1 129
315 #define ACI_PCO_IPCP_TYPE_DNS2 131
316 #define ACI_PCO_IPCP_LENGTH_IP 6
317 #define ACI_PCO_IPCP_LENGTH_DNS1 6
318 #define ACI_PCO_IPCP_LENGTH_DNS2 6
319
320 typedef enum
321 {
322 CGPCO_FORMAT_HEX = 0,
323 CGPCO_FORMAT_ASCII
324 }T_ACI_CGPCO_FORMAT;
325
326 typedef enum
327 {
328 CGPCO_MODE_SET_PCO = 0,
329 CGPCO_MODE_QUERY_PCO
330 }T_ACI_CGPCO_MODE;
331
332
333 /*==== PROTOTYPES =================================================*/
334
335 /*** set commands ***/
336 EXTERN T_ACI_RETURN sAT_PercentCGPCO (T_ACI_CMD_SRC srcId,
337 SHORT cid, USHORT protocol,
338 CHAR *user, CHAR *pwd,CHAR *dns1, CHAR *dns2);
339 EXTERN T_ACI_RETURN qAT_PercentCGPCO ( UBYTE srcId, ULONG * gateway, ULONG * dns1,ULONG * dns2, USHORT cid);
340 EXTERN T_ACI_RETURN sAT_PlusCGDCONT ( T_ACI_CMD_SRC srcId, SHORT cid, T_GPRS_CONT_REC *inputCtxt);
341 EXTERN T_ACI_RETURN sAT_PlusCGQREQ ( T_ACI_CMD_SRC srcId, SHORT cid ,T_QOS *qos);
342 EXTERN T_ACI_RETURN sAT_PlusCGQMIN ( T_ACI_CMD_SRC srcId, SHORT cid ,T_QOS *qos);
343 EXTERN T_ACI_RETURN sAT_PlusCGATT ( T_ACI_CMD_SRC srcId, T_CGATT_STATE state );
344 EXTERN T_ACI_RETURN sAT_PlusCGACT ( T_ACI_CMD_SRC srcId, T_CGACT_STATE state, SHORT *cids );
345 EXTERN T_ACI_RETURN sAT_PlusCGDATA ( T_ACI_CMD_SRC srcId, char *L2P, SHORT *cids );
346 EXTERN T_ACI_RETURN sAT_PlusCGPADDR ( T_ACI_CMD_SRC srcId, SHORT *cids, T_PDP_ADDRESS *pdp_adress );
347 EXTERN T_ACI_RETURN sAT_PlusCGAUTO ( T_ACI_CMD_SRC srcId, T_CGAUTO_N n );
348 EXTERN T_ACI_RETURN sAT_PlusCGANS ( T_ACI_CMD_SRC srcId, SHORT response, char *l2p, SHORT cid );
349 EXTERN T_ACI_RETURN sAT_PlusCGCLASS ( T_ACI_CMD_SRC srcId, T_CGCLASS_CLASS m_class );
350 EXTERN T_ACI_RETURN sAT_PlusCGEREP ( T_ACI_CMD_SRC srcId, T_CGEREP_MODE mode, T_CGEREP_BFR bfr );
351 EXTERN T_ACI_RETURN sAT_PlusCGSMS ( T_ACI_CMD_SRC srcId, T_CGSMS_SERVICE service );
352
353 EXTERN T_ACI_RETURN sAT_PercentCGAATT ( T_ACI_CMD_SRC srcId, T_CGAATT_ATTACH_MODE att_m, T_CGAATT_DETACH_MODE det_m );
354 EXTERN T_ACI_RETURN sAT_PercentCGMM ( T_ACI_CMD_SRC srcId, UBYTE cipher_on,
355 UBYTE tlli_handling );
356 EXTERN T_ACI_RETURN sAT_PercentSNCNT( T_ACI_CMD_SRC srcId, BOOL reset_counter );
357
358 EXTERN T_ACI_RETURN sAT_PercentCGPPP( T_ACI_CMD_SRC srcId,
359 T_ACI_PPP_PROT protocol );
360 EXTERN T_ACI_RETURN sAT_PercentCGCLASS ( T_ACI_CMD_SRC srcId, T_PERCENT_CGCLASS m_class );
361 EXTERN T_ACI_RETURN qAT_PercentCGPPP( T_ACI_CMD_SRC srcId,
362 T_ACI_PPP_PROT *protocol );
363
364 /*** read commands ***/
365 EXTERN T_ACI_RETURN qAT_PlusCGDCONT ( T_ACI_CMD_SRC srcId, T_GPRS_CONT_REC (*Ctxt)[MAX_CID_PLUS_EINS], SHORT *cid );
366 EXTERN T_ACI_RETURN qAT_PlusCGQREQ ( T_ACI_CMD_SRC srcId, T_QOS **qos, SHORT *cid);
367 EXTERN T_ACI_RETURN qAT_PlusCGQMIN ( T_ACI_CMD_SRC srcId, T_QOS **qos, SHORT *cid);
368 EXTERN T_ACI_RETURN qAT_PlusCGATT ( T_ACI_CMD_SRC srcId, T_CGATT_STATE *state );
369 EXTERN T_ACI_RETURN qAT_PlusCGACT ( T_ACI_CMD_SRC srcId, BOOL *states, SHORT *cid );
370 EXTERN T_ACI_RETURN qAT_PlusCGAUTO ( T_ACI_CMD_SRC srcId, T_CGAUTO_N *n);
371 EXTERN T_ACI_RETURN qAT_PlusCGCLASS ( T_ACI_CMD_SRC srcId, T_CGCLASS_CLASS *m_class );
372 EXTERN T_ACI_RETURN qAT_PlusCGEREP ( T_ACI_CMD_SRC srcId, T_CGEREP_MODE *mode, T_CGEREP_BFR *bfr );
373 EXTERN T_ACI_RETURN qAT_PlusCGREG ( T_ACI_CMD_SRC srcId, T_CGREG_STAT *stat, USHORT *lac, USHORT *ci );
374 EXTERN T_ACI_RETURN qAT_PercentCGREG( T_ACI_CMD_SRC srcId, T_P_CGREG_STAT *stat, USHORT *lac, USHORT *ci );
375 EXTERN T_ACI_RETURN qAT_PlusCGSMS ( T_ACI_CMD_SRC srcId, T_CGSMS_SERVICE *service );
376
377 EXTERN T_ACI_RETURN qAT_PercentCGAATT ( T_ACI_CMD_SRC srcId, T_CGAATT_ATTACH_MODE *att_m, T_CGAATT_DETACH_MODE *det_m );
378 EXTERN T_ACI_RETURN qAT_PercentCGCLASS ( T_ACI_CMD_SRC srcId, T_PERCENT_CGCLASS *m_class, T_PERCENT_CGCLASS *currentClass );
379
380 /*** test commands ***/
381 EXTERN T_ACI_RETURN tAT_PlusCGPADDR ( T_ACI_CMD_SRC srcId, SHORT *cids);
382 EXTERN T_ACI_RETURN tAT_PlusCGSMS ( T_ACI_CMD_SRC srcId, SHORT *service_list);
383
384
385 /*--------------- extension mechansim ----------------------------*/
386
387 /*--------------- constants --------------------------------------*/
388
389 /*--------------- configuration ----------------------------------*/
390
391 /*--------------- Extension Handler -> AT Interpreter ------------*/
392
393 /*--------------- AT Interpreter -> Extension Handler ------------*/
394
395 /*------- call-backs for MMI --------------------------------------*/
396
397 #ifdef CMH_F_C /*lint -save -e18 */ /* Turn off Lint errors for this "construct" */
398 EXTERN void rAT_PlusCGACT ( void );
399 EXTERN void rAT_PlusCGDATA ( void );
400 EXTERN void rAT_PlusCGANS ( void );
401 EXTERN void rAT_PlusCGEREP ( void );
402 EXTERN void rAT_PlusCGREG ( void );
403 EXTERN void rAT_changedQOS ( void );
404 EXTERN void rAT_PercentSNCNT ( void );
405 EXTERN void rAT_PercentCGREG ( void );
406 EXTERN void rAT_PercentCGEV ( void );
407 /*lint -restore */
408 #else
409 EXTERN void rAT_PlusCGACT ( SHORT link_id );
410 EXTERN void rAT_PlusCGDATA ( SHORT link_id );
411 EXTERN void rAT_PlusCGANS ( SHORT link_id );
412 EXTERN void rAT_PlusCGEREP ( T_CGEREP_EVENT event, T_CGEREP_EVENT_REP_PARAM *param );
413 EXTERN void rAT_PlusCGREG ( T_CGREG_STAT stat, USHORT lac, USHORT ci );
414 EXTERN void rAT_changedQOS ( SHORT cid, T_QOS *qos );
415 EXTERN void rAT_PercentSNCNT ( UBYTE c_id,
416 ULONG octets_uplink,
417 ULONG octets_downlink,
418 ULONG packets_uplink,
419 ULONG packets_downlink );
420 EXTERN void rAT_PercentCGREG ( T_P_CGREG_STAT stat, USHORT lac, USHORT ci, BOOL bActiveContext );
421 EXTERN void rAT_PercentCGEV ( T_CGEREP_EVENT event, T_CGEREP_EVENT_REP_PARAM *param );
422 #endif
423
424 /*--------------- call-backs for AT CI ----------------------------*/
425
426 #ifdef CMH_F_C
427 /*lint -save -e18 */ /* Turn off Lint errors for this "construct" */
428 EXTERN void rCI_PlusCGACT ( void );
429 EXTERN void rCI_PlusCGDATA ( void );
430 EXTERN void rCI_PlusCGANS ( void );
431 EXTERN void rCI_PlusCGEREP ( void );
432 EXTERN void rCI_PlusCGREG ( void );
433 EXTERN void rCI_changedQOS ( void );
434 EXTERN void rCI_PercentSNCNT ( void );
435 EXTERN void rCI_PercentCGREG ( void );
436 EXTERN void rCI_PercentCGEV ( void );
437 /*lint -restore */
438 #else
439 EXTERN void rCI_PlusCGACT ( SHORT link_id );
440 EXTERN void rCI_PlusCGDATA ( SHORT link_id );
441 EXTERN void rCI_PlusCGANS ( SHORT link_id );
442 EXTERN void rCI_PlusCGEREP ( T_CGEREP_EVENT event, T_CGEREP_EVENT_REP_PARAM *param );
443 EXTERN void rCI_PlusCGREG ( T_CGREG_STAT stat, USHORT lac, USHORT ci );
444 EXTERN void rCI_changedQOS ( SHORT cid, T_QOS *qos );
445 EXTERN void rCI_PercentSNCNT ( UBYTE c_id,
446 ULONG octets_uplink,
447 ULONG octets_downlink,
448 ULONG packets_uplink,
449 ULONG packets_downlink );
450 EXTERN void rCI_PercentCGREG ( T_P_CGREG_STAT stat, USHORT lac, USHORT ci, BOOL bActiveContext );
451 EXTERN void rCI_PercentCGEV ( T_CGEREP_EVENT event, T_CGEREP_EVENT_REP_PARAM *param );
452 #endif
453
454 #endif
455 /*==== EOF ========================================================*/