FreeCalypso > hg > fc-magnetite
comparison src/aci2/aci/aci_fd.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 : GSM-F&D (8411) | |
4 | Modul : ACI_FD | |
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 : Command handler interface definitions | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 #ifndef ACI_FD_H | |
22 #define ACI_FD_H | |
23 | |
24 /*==== DEFINES ====================================================*/ | |
25 #define MAX_ID_CHAR (20+1) /* maximum length of loc ID in chars */ | |
26 #define MAX_NSF_BYTE (90) /* maximum length of NSF in bytes */ | |
27 | |
28 /*==== TYPES ======================================================*/ | |
29 | |
30 #ifdef FF_FAX | |
31 | |
32 /*--- +FCLASS -----------------------------------------------------*/ | |
33 typedef enum | |
34 { | |
35 FCLASS_CLASS_NotPresent = -1, | |
36 FCLASS_CLASS_Data, | |
37 FCLASS_CLASS_Fax2 = 2, | |
38 FCLASS_CLASS_Voice = 8, | |
39 FCLASS_CLASS_Fax20 = 20 | |
40 } | |
41 T_ACI_FCLASS_CLASS; | |
42 | |
43 /*--- +FET --------------------------------------------------------*/ | |
44 typedef enum | |
45 { | |
46 FET_PPM_NotPresent = -1, | |
47 FET_PPM_Mps, | |
48 FET_PPM_Eom, | |
49 FET_PPM_Eop, | |
50 FET_PPM_PriMps, | |
51 FET_PPM_PriEom, | |
52 FET_PPM_PriEop | |
53 } | |
54 T_ACI_FET_PPM; | |
55 | |
56 /*--- +FHS --------------------------------------------------------*/ | |
57 typedef enum | |
58 { | |
59 FHS_STAT_NotPresent = -1, | |
60 FHS_STAT_NormEnd, | |
61 FHS_STAT_RingDetect, | |
62 FHS_STAT_CallAbort, | |
63 FHS_STAT_NoLoopCurr, | |
64 FHS_STAT_RingbackNoAns, | |
65 FHS_STAT_RingbackAns, | |
66 FHS_STAT_UnspcPhAErr = 16, | |
67 FHS_STAT_NoAns, | |
68 FHS_STAT_UnspcTxPhBErr = 32, | |
69 FHS_STAT_NoRemoteRxTx, | |
70 FHS_STAT_ComrecErrTx, | |
71 FHS_STAT_InvComrecCmd, | |
72 FHS_STAT_RsprecErrTx, | |
73 FHS_STAT_DcsNoRes, | |
74 FHS_STAT_DisDtcRcvd, | |
75 FHS_STAT_TrainFail, | |
76 FHS_STAT_InvRsprecRes, | |
77 FHS_STAT_UnspcTxPhCErr = 64, | |
78 FHS_STAT_UnspcImgFrmtErr, | |
79 FHS_STAT_ImgCnvErr, | |
80 FHS_STAT_DteDceDataUndrflw, | |
81 FHS_STAT_UnrecDataCmd, | |
82 FHS_STAT_ImgErrLineLen, | |
83 FHS_STAT_ImgErrPageLen, | |
84 FHS_STAT_ImgErrCmprCode, | |
85 FHS_STAT_UnspcTxPhDErr = 80, | |
86 FHS_STAT_RsprecErrD, | |
87 FHS_STAT_NoMpsRes, | |
88 FHS_STAT_InvMpsRes, | |
89 FHS_STAT_NoEopRes, | |
90 FHS_STAT_InvEopRes, | |
91 FHS_STAT_NoEomRes, | |
92 FHS_STAT_InvEomRes, | |
93 FHS_STAT_50PinPip, | |
94 FHS_STAT_UnspcRxPhBErr = 112, | |
95 FHS_STAT_RsprecErrRx, | |
96 FHS_STAT_ComrecErrRx, | |
97 FHS_STAT_T30T2Timeout, | |
98 FHS_STAT_T30T1Timeout, | |
99 FHS_STAT_UnspcRxPhCErr = 144, | |
100 FHS_STAT_MissEol, | |
101 FHS_STAT_BadCRCFrm, | |
102 FHS_STAT_DceDteBufOvrflw, | |
103 FHS_STAT_UnspcRxPhDErr = 160, | |
104 FHS_STAT_RsprecInvRes, | |
105 FHS_STAT_ComrecInvRes, | |
106 FHS_STAT_A0PinPip, | |
107 FHS_STAT_PhBSndRsrvd1 = 224, | |
108 FHS_STAT_PhBSndRsrvd2, | |
109 FHS_STAT_PhBSndRsrvd3, | |
110 FHS_STAT_PhCSndRsrvd1, | |
111 FHS_STAT_PhCSndRsrvd2, | |
112 FHS_STAT_PhDSndRsrvd1, | |
113 FHS_STAT_PhDSndRsrvd2, | |
114 FHS_STAT_PhDSndRsrvd3, | |
115 FHS_STAT_PhBRcvNoResp, | |
116 FHS_STAT_PhBRcvInvResp, | |
117 FHS_STAT_PhBRcvRsrvd3, | |
118 FHS_STAT_PhCRcvRsrvd1, | |
119 FHS_STAT_PhCRcvRsrvd2, | |
120 FHS_STAT_PhDRcvNoResp, | |
121 FHS_STAT_PhDRcvInvResp, | |
122 FHS_STAT_PhDRcvRsrvd3, | |
123 FHS_STAT_SgnNotAllwd, | |
124 FHS_STAT_FADRmtStnErr, | |
125 FHS_STAT_FADLclStnErr, | |
126 FHS_STAT_FADOwnErr, | |
127 FHS_STAT_FADGnrlErr | |
128 } | |
129 T_ACI_FHS_STAT; | |
130 | |
131 /*--- +FPS --------------------------------------------------------*/ | |
132 typedef enum | |
133 { | |
134 FPS_PPR_NotPresent = -1, | |
135 FPS_PPR_Mcf = 1, | |
136 FPS_PPR_Rtn, | |
137 FPS_PPR_Rtp, | |
138 FPS_PPR_Pin, | |
139 FPS_PPR_Pip | |
140 } | |
141 T_ACI_FPS_PPR; | |
142 | |
143 /*--- +FCR --------------------------------------------------------*/ | |
144 typedef enum | |
145 { | |
146 FCR_VAL_NotPresent = -1, | |
147 FCR_VAL_NoRcvCap, | |
148 FCR_VAL_RcvCap | |
149 } | |
150 T_ACI_FCR_VAL; | |
151 | |
152 /*--- +FIS +FCC +FCR ----------------------------------------------*/ | |
153 typedef enum | |
154 { | |
155 F_VR_NotPresent = -1, | |
156 F_VR_R8X3_85, | |
157 F_VR_R8X7_7, | |
158 F_VR_R8X15_4, | |
159 F_VR_R16X15_4 = 4, | |
160 F_VR_200X100 = 8, | |
161 F_VR_200X200 = 16, | |
162 F_VR_200X400 = 32, | |
163 F_VR_300X300 = 64 | |
164 } | |
165 T_ACI_F_VR; | |
166 | |
167 typedef enum | |
168 { | |
169 F_BR_NotPresent = -1, | |
170 F_BR_2400, | |
171 F_BR_4800, | |
172 F_BR_7200, | |
173 F_BR_9600, | |
174 F_BR_12000, | |
175 F_BR_14400 | |
176 } | |
177 T_ACI_F_BR; | |
178 | |
179 typedef enum | |
180 { | |
181 F_WD_NotPresent = -1, | |
182 F_WD_1728, | |
183 F_WD_2048, | |
184 F_WD_2432, | |
185 F_WD_1216, | |
186 F_WD_864 | |
187 } | |
188 T_ACI_F_WD; | |
189 | |
190 typedef enum | |
191 { | |
192 F_LN_NotPresent = -1, | |
193 F_LN_A4, | |
194 F_LN_B4, | |
195 F_LN_Unlimited | |
196 } | |
197 T_ACI_F_LN; | |
198 | |
199 typedef enum | |
200 { | |
201 F_DF_NotPresent = -1, | |
202 F_DF_1D_MdfHuff, | |
203 F_DF_2D_MdfRd_T4, | |
204 F_DF_2D_Uncomp, | |
205 F_DF_2D_MdfRd_T6 | |
206 } | |
207 T_ACI_F_DF; | |
208 | |
209 typedef enum | |
210 { | |
211 F_EC_NotPresent = -1, | |
212 F_EC_DisableECM, | |
213 F_EC_EnableECM, | |
214 F_EC_EnableHalfDup, | |
215 F_EC_EnableFullDup | |
216 } | |
217 T_ACI_F_EC; | |
218 | |
219 typedef enum | |
220 { | |
221 F_BF_NotPresent = -1, | |
222 F_BF_DisableFileTrnsf, | |
223 F_BF_EnableBFT, | |
224 F_BF_DocuTrnsfMode, | |
225 F_BF_EdifactMode = 4, | |
226 F_BF_BasicTrnsfMode = 8, | |
227 F_BF_CharMode = 16, | |
228 F_BF_MixMode = 32, | |
229 F_BF_ProcMode = 64 | |
230 } | |
231 T_ACI_F_BF; | |
232 | |
233 typedef enum | |
234 { | |
235 F_ST_NotPresent = -1, | |
236 F_ST_0_0, | |
237 F_ST_5_5, | |
238 F_ST_10_5, | |
239 F_ST_10_10, | |
240 F_ST_20_10, | |
241 F_ST_20_20, | |
242 F_ST_40_20, | |
243 F_ST_40_40 | |
244 } | |
245 T_ACI_F_ST; | |
246 | |
247 typedef enum | |
248 { | |
249 F_JP_NotPresent = -1, | |
250 F_JP_DisableJPEG, | |
251 F_JP_EnableJPEG, | |
252 F_JP_FullColor, | |
253 F_JP_EnablePrefHuff = 4, | |
254 F_JP_12BitsPelComp = 8, | |
255 F_JP_NoSubsmpl = 16, | |
256 F_JP_CustIllum = 32, | |
257 F_JP_CustGamutRange = 64 | |
258 } | |
259 T_ACI_F_JP; | |
260 | |
261 /*--- +FLP --------------------------------------------------------*/ | |
262 typedef enum | |
263 { | |
264 FLP_VAL_NotPresent = -1, | |
265 FLP_VAL_NoPollDoc, | |
266 FLP_VAL_PollDoc | |
267 } | |
268 T_ACI_FLP_VAL; | |
269 | |
270 /*--- +FAP --------------------------------------------------------*/ | |
271 typedef enum | |
272 { | |
273 FAP_VAL_NotPresent = -1, | |
274 FAP_VAL_Disabled, | |
275 FAP_VAL_Enabled | |
276 } | |
277 T_ACI_FAP_VAL; | |
278 | |
279 /*--- +FSP --------------------------------------------------------*/ | |
280 typedef enum | |
281 { | |
282 FSP_VAL_NotPresent = -1, | |
283 FSP_VAL_PollDisabled, | |
284 FSP_VAL_PollEnable | |
285 } | |
286 T_ACI_FSP_VAL; | |
287 | |
288 /*--- +FIE --------------------------------------------------------*/ | |
289 typedef enum | |
290 { | |
291 FIE_VAL_NotPresent = -1, | |
292 FIE_VAL_IgnorePRI, | |
293 FIE_VAL_AcceptPRI | |
294 } | |
295 T_ACI_FIE_VAL; | |
296 | |
297 /*--- +FCQ --------------------------------------------------------*/ | |
298 typedef enum | |
299 { | |
300 FCQ_RQ_NotPresent = -1, | |
301 FCQ_RQ_CQCDisabled, | |
302 FCQ_RQ_CQCEnabled, | |
303 FCQ_RQ_CQCandCorrection | |
304 } | |
305 T_ACI_FCQ_RQ; | |
306 | |
307 typedef enum | |
308 { | |
309 FCQ_TQ_NotPresent = -1, | |
310 FCQ_TQ_CQCDisabled, | |
311 FCQ_TQ_CQCEnabled, | |
312 FCQ_TQ_CQCandCorrection | |
313 } | |
314 T_ACI_FCQ_TQ; | |
315 | |
316 /*--- +FND --------------------------------------------------------*/ | |
317 typedef enum | |
318 { | |
319 FND_VAL_NotPresent = -1, | |
320 FND_VAL_MsgTypeDCS, | |
321 FND_VAL_NonStandard | |
322 } | |
323 T_ACI_FND_VAL; | |
324 | |
325 /*--- +FFC --------------------------------------------------------*/ | |
326 typedef enum | |
327 { | |
328 FFC_VRC_NotPresent = -1, | |
329 FFC_VRC_Ignored, | |
330 FFC_VRC_Enabled, | |
331 FFC_VRC_Conversion1D, | |
332 FFC_VRC_Conversion2D | |
333 } | |
334 T_ACI_FFC_VRC; | |
335 | |
336 typedef enum | |
337 { | |
338 FFC_DFC_NotPresent = -1, | |
339 FFC_DFC_Ignored, | |
340 FFC_DFC_Enabled, | |
341 FFC_DFC_Conversion | |
342 } | |
343 T_ACI_FFC_DFC; | |
344 | |
345 typedef enum | |
346 { | |
347 FFC_LNC_NotPresent = -1, | |
348 FFC_LNC_Ignored, | |
349 FFC_LNC_Enabled, | |
350 FFC_LNC_Conversion1D, | |
351 FFC_LNC_Conversion2D | |
352 } | |
353 T_ACI_FFC_LNC; | |
354 | |
355 typedef enum | |
356 { | |
357 FFC_WDC_NotPresent = -1, | |
358 FFC_WDC_Ignored, | |
359 FFC_WDC_Enabled, | |
360 FFC_WDC_Conversion | |
361 } | |
362 T_ACI_FFC_WDC; | |
363 | |
364 /*--- +FIT --------------------------------------------------------*/ | |
365 typedef enum | |
366 { | |
367 FIT_ACT_NotPresent = -1, | |
368 FIT_ACT_OnHookRst, | |
369 FIT_ACT_OnHook | |
370 } | |
371 T_ACI_FIT_ACT; | |
372 | |
373 /*--- +FBO --------------------------------------------------------*/ | |
374 typedef enum | |
375 { | |
376 FBO_VAL_NotPresent = -1, | |
377 FBO_VAL_DirCDirBD, | |
378 FBO_VAL_RvrCDirBD, | |
379 FBO_VAL_DirCRvrBD, | |
380 FBO_VAL_RvrCRvrBD | |
381 } | |
382 T_ACI_FBO_VAL; | |
383 | |
384 #endif /* FF_FAX */ | |
385 | |
386 /*---- Structs ----------------------------------------------------*/ | |
387 | |
388 typedef struct | |
389 { | |
390 struct | |
391 { | |
392 UBYTE rpr_stat; | |
393 UBYTE tpr_stat; | |
394 UBYTE idr_stat; | |
395 UBYTE nsr_stat; | |
396 } FNR; | |
397 UBYTE FEA_stat; | |
398 UBYTE FBU_stat; | |
399 } FDCmdVars; | |
400 | |
401 /*---- Prototypes -------------------------------------------------*/ | |
402 | |
403 #ifdef FF_FAX | |
404 | |
405 EXTERN T_ACI_RETURN sAT_PlusFDT (T_ACI_CMD_SRC srcId); | |
406 EXTERN T_ACI_RETURN sAT_PlusFDR (T_ACI_CMD_SRC srcId); | |
407 EXTERN T_ACI_RETURN sAT_PlusFIP (T_ACI_CMD_SRC srcId); | |
408 EXTERN T_ACI_RETURN sAT_PlusFKS (T_ACI_CMD_SRC srcId); | |
409 EXTERN T_ACI_RETURN sAT_PlusFCR (T_ACI_CMD_SRC srcId, | |
410 T_ACI_FCR_VAL value); | |
411 EXTERN T_ACI_RETURN qAT_PlusFCR (T_ACI_CMD_SRC srcId, | |
412 T_ACI_FCR_VAL * value); | |
413 EXTERN T_ACI_RETURN sAT_PlusFLI (T_ACI_CMD_SRC srcId, | |
414 char * idStr); | |
415 EXTERN T_ACI_RETURN qAT_PlusFLI (T_ACI_CMD_SRC srcId, | |
416 char * idStr); | |
417 EXTERN T_ACI_RETURN sAT_PlusFPI (T_ACI_CMD_SRC srcId, | |
418 CHAR * idStr ); | |
419 EXTERN T_ACI_RETURN qAT_PlusFPI (T_ACI_CMD_SRC srcId, | |
420 CHAR * idStr ); | |
421 EXTERN T_ACI_RETURN sAT_PlusFSA (T_ACI_CMD_SRC srcId, | |
422 CHAR * subStr ); | |
423 EXTERN T_ACI_RETURN qAT_PlusFSA (T_ACI_CMD_SRC srcId, | |
424 CHAR * subStr ); | |
425 EXTERN T_ACI_RETURN sAT_PlusFPA (T_ACI_CMD_SRC srcId, | |
426 CHAR * sepStr ); | |
427 EXTERN T_ACI_RETURN qAT_PlusFPA (T_ACI_CMD_SRC srcId, | |
428 CHAR * sepStr ); | |
429 EXTERN T_ACI_RETURN sAT_PlusFPW (T_ACI_CMD_SRC srcId, | |
430 CHAR * pwdStr ); | |
431 EXTERN T_ACI_RETURN qAT_PlusFPW (T_ACI_CMD_SRC srcId, | |
432 CHAR * pwdStr ); | |
433 EXTERN T_ACI_RETURN sAT_PlusFCC (T_ACI_CMD_SRC srcId, | |
434 T_ACI_F_VR vr, | |
435 T_ACI_F_BR br, | |
436 T_ACI_F_WD wd, | |
437 T_ACI_F_LN ln, | |
438 T_ACI_F_DF df, | |
439 T_ACI_F_EC ec, | |
440 T_ACI_F_BF bf, | |
441 T_ACI_F_ST st, | |
442 T_ACI_F_JP jp ); | |
443 EXTERN T_ACI_RETURN qAT_PlusFCC (T_ACI_CMD_SRC srcId, | |
444 T_ACI_F_VR * vr, | |
445 T_ACI_F_BR * br, | |
446 T_ACI_F_WD * wd, | |
447 T_ACI_F_LN * ln, | |
448 T_ACI_F_DF * df, | |
449 T_ACI_F_EC * ec, | |
450 T_ACI_F_BF * bf, | |
451 T_ACI_F_ST * st, | |
452 T_ACI_F_JP * jp ); | |
453 EXTERN T_ACI_RETURN sAT_PlusFIS (T_ACI_CMD_SRC srcId, | |
454 T_ACI_F_VR vr, | |
455 T_ACI_F_BR br, | |
456 T_ACI_F_WD wd, | |
457 T_ACI_F_LN ln, | |
458 T_ACI_F_DF df, | |
459 T_ACI_F_EC ec, | |
460 T_ACI_F_BF bf, | |
461 T_ACI_F_ST st, | |
462 T_ACI_F_JP jp ); | |
463 EXTERN T_ACI_RETURN qAT_PlusFIS (T_ACI_CMD_SRC srcId, | |
464 T_ACI_F_VR * vr, | |
465 T_ACI_F_BR * br, | |
466 T_ACI_F_WD * wd, | |
467 T_ACI_F_LN * ln, | |
468 T_ACI_F_DF * df, | |
469 T_ACI_F_EC * ec, | |
470 T_ACI_F_BF * bf, | |
471 T_ACI_F_ST * st, | |
472 T_ACI_F_JP * jp ); | |
473 EXTERN T_ACI_RETURN qAT_PlusFCS (T_ACI_CMD_SRC srcId, | |
474 T_ACI_F_VR * vr, | |
475 T_ACI_F_BR * br, | |
476 T_ACI_F_WD * wd, | |
477 T_ACI_F_LN * ln, | |
478 T_ACI_F_DF * df, | |
479 T_ACI_F_EC * ec, | |
480 T_ACI_F_BF * bf, | |
481 T_ACI_F_ST * st, | |
482 T_ACI_F_JP * jp); | |
483 EXTERN T_ACI_RETURN sAT_PlusFCLASS(T_ACI_CMD_SRC srcId, | |
484 T_ACI_FCLASS_CLASS class_type); | |
485 EXTERN T_ACI_RETURN qAT_PlusFCLASS(T_ACI_CMD_SRC srcId, | |
486 T_ACI_FCLASS_CLASS * class_type); | |
487 EXTERN T_ACI_RETURN sAT_PlusFNS (T_ACI_CMD_SRC srcId, | |
488 UBYTE len, | |
489 UBYTE * nsf ); | |
490 EXTERN T_ACI_RETURN qAT_PlusFNS (T_ACI_CMD_SRC srcId, | |
491 UBYTE * len, | |
492 UBYTE * nsf ); | |
493 EXTERN T_ACI_RETURN sAT_PlusFLP (T_ACI_CMD_SRC srcId, | |
494 T_ACI_FLP_VAL value ); | |
495 EXTERN T_ACI_RETURN qAT_PlusFLP (T_ACI_CMD_SRC srcId, | |
496 T_ACI_FLP_VAL * value ); | |
497 EXTERN T_ACI_RETURN sAT_PlusFSP (T_ACI_CMD_SRC srcId, | |
498 T_ACI_FSP_VAL value ); | |
499 EXTERN T_ACI_RETURN qAT_PlusFSP (T_ACI_CMD_SRC srcId, | |
500 T_ACI_FSP_VAL * value ); | |
501 EXTERN T_ACI_RETURN sAT_PlusFCR (T_ACI_CMD_SRC srcId, | |
502 T_ACI_FCR_VAL value ); | |
503 EXTERN T_ACI_RETURN qAT_PlusFCR (T_ACI_CMD_SRC srcId, | |
504 T_ACI_FCR_VAL * value ); | |
505 EXTERN T_ACI_RETURN sAT_PlusFAP (T_ACI_CMD_SRC srcId, | |
506 T_ACI_FAP_VAL sub, | |
507 T_ACI_FAP_VAL sep, | |
508 T_ACI_FAP_VAL pwd ); | |
509 EXTERN T_ACI_RETURN qAT_PlusFAP (T_ACI_CMD_SRC srcId, | |
510 T_ACI_FAP_VAL * sub, | |
511 T_ACI_FAP_VAL * sep, | |
512 T_ACI_FAP_VAL * pwd ); | |
513 EXTERN T_ACI_RETURN sAT_PlusFIE (T_ACI_CMD_SRC srcId, | |
514 T_ACI_FIE_VAL value ); | |
515 EXTERN T_ACI_RETURN qAT_PlusFIE (T_ACI_CMD_SRC srcId, | |
516 T_ACI_FIE_VAL * value ); | |
517 EXTERN T_ACI_RETURN sAT_PlusFPS (T_ACI_CMD_SRC srcId, | |
518 T_ACI_FPS_PPR ppr ); | |
519 EXTERN T_ACI_RETURN qAT_PlusFPS (T_ACI_CMD_SRC srcId, | |
520 T_ACI_FPS_PPR * ppr ); | |
521 EXTERN T_ACI_RETURN sAT_PlusFCQ (T_ACI_CMD_SRC srcId, | |
522 T_ACI_FCQ_RQ rq, | |
523 T_ACI_FCQ_TQ tq ); | |
524 EXTERN T_ACI_RETURN qAT_PlusFCQ (T_ACI_CMD_SRC srcId, | |
525 T_ACI_FCQ_RQ * rq, | |
526 T_ACI_FCQ_TQ * tq ); | |
527 EXTERN T_ACI_RETURN sAT_PlusFRQ (T_ACI_CMD_SRC srcId, | |
528 SHORT pgl, | |
529 SHORT cbl ); | |
530 EXTERN T_ACI_RETURN qAT_PlusFRQ (T_ACI_CMD_SRC srcId, | |
531 SHORT * pgl, | |
532 SHORT * cbl ); | |
533 EXTERN T_ACI_RETURN qAT_PlusFHS (T_ACI_CMD_SRC srcId, | |
534 T_ACI_FHS_STAT * status ); | |
535 EXTERN T_ACI_RETURN sAT_PlusFMS (T_ACI_CMD_SRC srcId, | |
536 T_ACI_F_BR br); | |
537 EXTERN T_ACI_RETURN qAT_PlusFMS (T_ACI_CMD_SRC srcId, | |
538 T_ACI_F_BR * br); | |
539 EXTERN T_ACI_RETURN sAT_PlusFND (T_ACI_CMD_SRC srcId, | |
540 T_ACI_FND_VAL value); | |
541 EXTERN T_ACI_RETURN qAT_PlusFND (T_ACI_CMD_SRC srcId, | |
542 T_ACI_FND_VAL * value); | |
543 EXTERN T_ACI_RETURN sAT_PlusFFC (T_ACI_CMD_SRC srcId, | |
544 T_ACI_FFC_VRC vrc, | |
545 T_ACI_FFC_DFC dfc, | |
546 T_ACI_FFC_LNC lnc, | |
547 T_ACI_FFC_WDC wdc); | |
548 EXTERN T_ACI_RETURN qAT_PlusFFC (T_ACI_CMD_SRC srcId, | |
549 T_ACI_FFC_VRC * vrc, | |
550 T_ACI_FFC_DFC * dfc, | |
551 T_ACI_FFC_LNC * lnc, | |
552 T_ACI_FFC_WDC * wdc); | |
553 EXTERN T_ACI_RETURN sAT_PlusFEA (T_ACI_CMD_SRC srcId, | |
554 SHORT value ); | |
555 EXTERN T_ACI_RETURN qAT_PlusFEA (T_ACI_CMD_SRC srcId, | |
556 SHORT * value ); | |
557 EXTERN T_ACI_RETURN sAT_PlusFCT (T_ACI_CMD_SRC srcId, | |
558 SHORT value ); | |
559 EXTERN T_ACI_RETURN qAT_PlusFCT (T_ACI_CMD_SRC srcId, | |
560 SHORT * value ); | |
561 EXTERN T_ACI_RETURN sAT_PlusFIT (T_ACI_CMD_SRC srcId, | |
562 SHORT time, | |
563 T_ACI_FIT_ACT act ); | |
564 EXTERN T_ACI_RETURN qAT_PlusFIT (T_ACI_CMD_SRC srcId, | |
565 SHORT * time, | |
566 T_ACI_FIT_ACT * act ); | |
567 EXTERN T_ACI_RETURN qAT_PlusFBS (T_ACI_CMD_SRC srcId, | |
568 SHORT * tbs, | |
569 SHORT * rbs ); | |
570 EXTERN T_ACI_RETURN sAT_PlusFBO (T_ACI_CMD_SRC srcId, | |
571 T_ACI_FBO_VAL value ); | |
572 EXTERN T_ACI_RETURN qAT_PlusFBO (T_ACI_CMD_SRC srcId, | |
573 T_ACI_FBO_VAL * value ); | |
574 #endif /* FF_FAX */ | |
575 | |
576 | |
577 /*---- Call Back Prototypes for MMI ------------------------------*/ | |
578 | |
579 #ifdef CMH_F_C /*lint -save -e18 */ /* Turn off Lint errors for this "construct" */ | |
580 | |
581 #ifdef FF_FAX | |
582 | |
583 EXTERN void rAT_PlusFHT (void); | |
584 EXTERN void rAT_PlusFHR (void); | |
585 EXTERN void rAT_PlusFCI (void); | |
586 EXTERN void rAT_PlusFIS (void); | |
587 EXTERN void rAT_PlusFCS (void); | |
588 EXTERN void rAT_PlusFTC (void); | |
589 EXTERN void rAT_PlusFHS (void); | |
590 EXTERN void rAT_PlusFCO (void); | |
591 EXTERN void rAT_PlusFSA (void); | |
592 EXTERN void rAT_PlusFPA (void); | |
593 EXTERN void rAT_PlusFPW (void); | |
594 EXTERN void rAT_PlusFET (void); | |
595 EXTERN void rAT_PlusFVO (void); | |
596 EXTERN void rAT_PlusFPO (void); | |
597 EXTERN void rAT_PlusFTI (void); | |
598 EXTERN void rAT_PlusFCI (void); | |
599 EXTERN void rAT_PlusFPI (void); | |
600 EXTERN void rAT_PlusFNF (void); | |
601 EXTERN void rAT_PlusFNS (void); | |
602 EXTERN void rAT_PlusFNC (void); | |
603 EXTERN void rAT_PlusFPS (void); | |
604 | |
605 #endif /* FF_FAX */ | |
606 | |
607 /*lint -restore */ | |
608 #else | |
609 | |
610 #ifdef FF_FAX | |
611 | |
612 EXTERN void rAT_PlusFHT (USHORT len, | |
613 UBYTE * hdlc); | |
614 EXTERN void rAT_PlusFHR (USHORT len, | |
615 UBYTE * hdlc); | |
616 EXTERN void rAT_PlusFCI (CHAR * rmtId); | |
617 | |
618 EXTERN void rAT_PlusFIS (T_ACI_F_VR vr, | |
619 T_ACI_F_BR br, | |
620 T_ACI_F_WD wd, | |
621 T_ACI_F_LN ln, | |
622 T_ACI_F_DF df, | |
623 T_ACI_F_EC ec, | |
624 T_ACI_F_BF bf, | |
625 T_ACI_F_ST st, | |
626 T_ACI_F_JP jp ); | |
627 EXTERN void rAT_PlusFCS (T_ACI_F_VR vr, | |
628 T_ACI_F_BR br, | |
629 T_ACI_F_WD wd, | |
630 T_ACI_F_LN ln, | |
631 T_ACI_F_DF df, | |
632 T_ACI_F_EC ec, | |
633 T_ACI_F_BF bf, | |
634 T_ACI_F_ST st, | |
635 T_ACI_F_JP jp ); | |
636 EXTERN void rAT_PlusFTC (T_ACI_F_VR vr, | |
637 T_ACI_F_BR br, | |
638 T_ACI_F_WD wd, | |
639 T_ACI_F_LN ln, | |
640 T_ACI_F_DF df, | |
641 T_ACI_F_EC ec, | |
642 T_ACI_F_BF bf, | |
643 T_ACI_F_ST st, | |
644 T_ACI_F_JP jp ); | |
645 EXTERN void rAT_PlusFHS (T_ACI_FHS_STAT stat); | |
646 EXTERN void rAT_PlusFCO (void); | |
647 EXTERN void rAT_PlusFSA (CHAR * sub); | |
648 EXTERN void rAT_PlusFPA (CHAR * sep); | |
649 EXTERN void rAT_PlusFPW (CHAR * pwd); | |
650 EXTERN void rAT_PlusFET (T_ACI_FET_PPM ppm); | |
651 EXTERN void rAT_PlusFVO (void); | |
652 EXTERN void rAT_PlusFPO (void); | |
653 EXTERN void rAT_PlusFTI (CHAR * tsi); | |
654 EXTERN void rAT_PlusFCI (CHAR * csi); | |
655 EXTERN void rAT_PlusFPI (CHAR * cig); | |
656 EXTERN void rAT_PlusFNF (USHORT len, | |
657 UBYTE * nsf); | |
658 EXTERN void rAT_PlusFNS (USHORT len, | |
659 UBYTE * nss); | |
660 EXTERN void rAT_PlusFNC (USHORT len, | |
661 UBYTE * nsc); | |
662 EXTERN void rAT_PlusFPS (T_ACI_FPS_PPR ppr, | |
663 SHORT lc, | |
664 SHORT blc, | |
665 SHORT cblc, | |
666 SHORT lbc); | |
667 #endif /* FF_FAX */ | |
668 | |
669 #endif | |
670 | |
671 /*--------------- call-backs for AT CI ----------------------------*/ | |
672 | |
673 #ifdef CMH_F_C /*lint -save -e18 */ /* Turn off Lint errors for this "construct" */ | |
674 | |
675 #ifdef FF_FAX | |
676 | |
677 EXTERN void rCI_PlusFHT (void); | |
678 EXTERN void rCI_PlusFHR (void); | |
679 EXTERN void rCI_PlusFCI (void); | |
680 EXTERN void rCI_PlusFIS (void); | |
681 EXTERN void rCI_PlusFCS (void); | |
682 EXTERN void rCI_PlusFTC (void); | |
683 EXTERN void rCI_PlusFHS (void); | |
684 EXTERN void rCI_PlusFCO (void); | |
685 EXTERN void rCI_PlusFSA (void); | |
686 EXTERN void rCI_PlusFPA (void); | |
687 EXTERN void rCI_PlusFPW (void); | |
688 EXTERN void rCI_PlusFET (void); | |
689 EXTERN void rCI_PlusFVO (void); | |
690 EXTERN void rCI_PlusFPO (void); | |
691 EXTERN void rCI_PlusFTI (void); | |
692 EXTERN void rCI_PlusFCI (void); | |
693 EXTERN void rCI_PlusFPI (void); | |
694 EXTERN void rCI_PlusFNF (void); | |
695 EXTERN void rCI_PlusFNS (void); | |
696 EXTERN void rCI_PlusFNC (void); | |
697 EXTERN void rCI_PlusFPS (void); | |
698 | |
699 #endif /* FF_FAX */ | |
700 | |
701 /*lint -restore */ | |
702 #else | |
703 | |
704 #ifdef FF_FAX | |
705 | |
706 EXTERN void rCI_PlusFHT (USHORT len, | |
707 UBYTE * hdlc); | |
708 EXTERN void rCI_PlusFHR (USHORT len, | |
709 UBYTE * hdlc); | |
710 EXTERN void rCI_PlusFCI (CHAR * rmtId); | |
711 EXTERN void rCI_PlusFIS (T_ACI_F_VR vr, | |
712 T_ACI_F_BR br, | |
713 T_ACI_F_WD wd, | |
714 T_ACI_F_LN ln, | |
715 T_ACI_F_DF df, | |
716 T_ACI_F_EC ec, | |
717 T_ACI_F_BF bf, | |
718 T_ACI_F_ST st, | |
719 T_ACI_F_JP jp ); | |
720 EXTERN void rCI_PlusFCS (T_ACI_F_VR vr, | |
721 T_ACI_F_BR br, | |
722 T_ACI_F_WD wd, | |
723 T_ACI_F_LN ln, | |
724 T_ACI_F_DF df, | |
725 T_ACI_F_EC ec, | |
726 T_ACI_F_BF bf, | |
727 T_ACI_F_ST st, | |
728 T_ACI_F_JP jp ); | |
729 EXTERN void rCI_PlusFTC (T_ACI_F_VR vr, | |
730 T_ACI_F_BR br, | |
731 T_ACI_F_WD wd, | |
732 T_ACI_F_LN ln, | |
733 T_ACI_F_DF df, | |
734 T_ACI_F_EC ec, | |
735 T_ACI_F_BF bf, | |
736 T_ACI_F_ST st, | |
737 T_ACI_F_JP jp ); | |
738 EXTERN void rCI_PlusFHS (T_ACI_FHS_STAT stat); | |
739 EXTERN void rCI_PlusFCO (void); | |
740 EXTERN void rCI_PlusFSA (CHAR * sub); | |
741 EXTERN void rCI_PlusFPA (CHAR * sep); | |
742 EXTERN void rCI_PlusFPW (CHAR * pwd); | |
743 EXTERN void rCI_PlusFET (T_ACI_FET_PPM ppm); | |
744 EXTERN void rCI_PlusFVO (void); | |
745 EXTERN void rCI_PlusFPO (void); | |
746 EXTERN void rCI_PlusFTI (CHAR * tsi); | |
747 EXTERN void rCI_PlusFCI (CHAR * csi); | |
748 EXTERN void rCI_PlusFPI (CHAR * cig); | |
749 EXTERN void rCI_PlusFNF (USHORT len, | |
750 UBYTE * nsf); | |
751 EXTERN void rCI_PlusFNS (USHORT len, | |
752 UBYTE * nss); | |
753 EXTERN void rCI_PlusFNC (USHORT len, | |
754 UBYTE * nsc); | |
755 EXTERN void rCI_PlusFPS (T_ACI_FPS_PPR ppr, | |
756 SHORT lc, | |
757 SHORT blc, | |
758 SHORT cblc, | |
759 SHORT lbc); | |
760 #endif /* FF_FAX */ | |
761 | |
762 #endif | |
763 | |
764 /*==== EOF ========================================================*/ | |
765 | |
766 #ifdef ACI_FD_CMD_C | |
767 GLOBAL FDCmdVars fd; | |
768 #else | |
769 EXTERN FDCmdVars fd; | |
770 #endif | |
771 | |
772 #endif |