comparison src/g23m-aci/aci/aci_cphs.h @ 162:53929b40109c

src/g23m-aci: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:02:43 +0000
parents
children
comparison
equal deleted inserted replaced
161:4557e2a9c18e 162:53929b40109c
1 /*
2 +--------------------------------------------------------------------+
3 | PROJECT: GSM-F&D (8411) $Workfile:: aci_cphs.h $|
4 | $Author:: $ CONDAT AG $Revision:: $|
5 | CREATED: $Modtime:: $|
6 | STATE : code |
7 +--------------------------------------------------------------------+
8
9 MODULE : ACI_CPHS
10
11 PURPOSE : Command handler interface definitions for CPHS
12
13 */
14
15 #ifdef FF_CPHS
16
17 #ifndef ACI_CPHS_H
18 #define ACI_CPHS_H
19
20 /**************** CPHS Module *****************************************/
21 EXTERN T_ACI_RETURN sAT_PercentCPHS( T_ACI_CMD_SRC srcId,
22 T_ACI_CPHS_INIT init_cphs );
23
24 EXTERN T_ACI_RETURN qAT_PercentCPHS( T_ACI_CMD_SRC srcId,
25 T_ACI_CPHS_INIT *init_cphs);
26
27 EXTERN T_ACI_RETURN sAT_PercentCPNUMS( T_ACI_CMD_SRC srcId,
28 UBYTE element_id,
29 UBYTE mode );
30
31 EXTERN T_ACI_RETURN tAT_PercentCPNUMS( T_ACI_CMD_SRC srcId );
32
33 EXTERN T_ACI_RETURN qAT_PercentCPALS( T_ACI_CMD_SRC srcId,
34 UBYTE call_id,
35 T_CPHS_LINES *line,
36 CHAR *line_desc,
37 UBYTE *max_line_desc);
38
39 EXTERN T_ACI_RETURN sAT_PercentCPVWI( T_ACI_CMD_SRC srcId,
40 UBYTE flag_set,
41 USHORT lines);
42
43 EXTERN T_ACI_RETURN qAT_PercentCPVWI( T_ACI_CMD_SRC srcId,
44 UBYTE *flag_set,
45 USHORT line);
46
47 EXTERN T_ACI_RETURN qAT_PercentCPOPN( T_ACI_CMD_SRC srcId,
48 CHAR *longname,
49 UBYTE *max_longname,
50 CHAR *shortname,
51 UBYTE *max_shortname);
52
53 EXTERN T_ACI_RETURN sAT_PercentCPINF( T_ACI_CMD_SRC srcId,
54 UBYTE *csp,
55 UBYTE csp_len);
56
57 EXTERN T_ACI_RETURN qAT_PercentCPINF( T_ACI_CMD_SRC srcId,
58 UBYTE *phase,
59 USHORT *sst,
60 CHAR *csp,
61 CHAR *csp2,
62 UBYTE *max_csp_size,
63 UBYTE *max_csp2_size);
64
65 EXTERN T_ACI_RETURN qAT_PercentCPMB( T_ACI_CMD_SRC srcId,
66 UBYTE rec_id,
67 T_CPHS_LINES *line,
68 CHAR *number,
69 T_ACI_TOA_TON *ton,
70 T_ACI_TOA_NPI *npi,
71 CHAR *alpha_id,
72 UBYTE *first);
73
74 EXTERN T_ACI_RETURN sAT_PercentCPMBW( T_ACI_CMD_SRC srcId,
75 SHORT index,
76 CHAR* number,
77 T_ACI_TOA* type,
78 T_CPHS_PB_TEXT* text);
79
80 GLOBAL T_ACI_RETURN tAT_PercentCPMBW ( T_ACI_CMD_SRC srcId,
81 SHORT* firstIdx,
82 SHORT* lastIdx,
83 UBYTE* nlength,
84 UBYTE* tlength );
85
86 EXTERN T_ACI_RETURN sAT_PercentCPCFU( T_ACI_CMD_SRC srcId,
87 UBYTE cfu_set,
88 T_CPHS_LINES lines );
89
90 EXTERN T_ACI_RETURN qAT_PercentCPCFU( T_ACI_CMD_SRC srcId,
91 UBYTE *cfu_set,
92 T_CPHS_LINES line );
93
94
95 #ifdef CMH_F_C
96 EXTERN void rCI_PercentCPNUMS(void);
97 EXTERN void rAT_PercentCPNUMS(void);
98 EXTERN void rCI_PercentCPVWI (void);
99 EXTERN void rAT_PercentCPVWI (void);
100 EXTERN void rCI_PercentCPROAM (void);
101 EXTERN void rAT_PercentCPROAM (void);
102
103
104 #else
105 EXTERN void rCI_PercentCPNUMS(UBYTE element_index,
106 UBYTE index_level,
107 CHAR *alpha_tag,
108 CHAR *number,
109 BOOL premium_flag,
110 BOOL network_flag,
111 UBYTE type_of_address);
112
113
114 EXTERN void rAT_PercentCPNUMS(UBYTE element_index,
115 UBYTE index_level,
116 CHAR *alpha_tag,
117 CHAR *number,
118 BOOL premium_flag,
119 BOOL network_flag,
120 UBYTE type_of_address);
121
122
123 EXTERN void rCI_PercentCPVWI (UBYTE flag_set,
124 USHORT line);
125 EXTERN void rAT_PercentCPVWI (UBYTE flag_set,
126 USHORT line);
127
128 EXTERN void rCI_PercentCPROAM (UBYTE roam_status);
129 EXTERN void rAT_PercentCPROAM (UBYTE roam_status);
130
131 #endif /* CMH_F_C */
132
133
134
135 /**********************************************************************/
136
137
138 #endif /* ACI_CPHS_H */
139 #endif /* FF_CPHS */
140
141 /*==== EOF ========================================================*/