comparison cdg-hybrid/cdginc/p_t30.h @ 212:e7a67accfad9

cdg-hybrid cdginc headers created
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Oct 2016 21:52:58 +0000
parents
children
comparison
equal deleted inserted replaced
211:02269c474131 212:e7a67accfad9
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_t30.h |
5 | SOURCE : "sap\t30.pdf" |
6 | LastModified : "2002-04-23" |
7 | IdAndVersion : "8411.104.98.312" |
8 | SrcFileTime : "Thu Nov 29 09:54:28 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_T30_H
24 #define P_T30_H
25
26
27 #define CDG_ENTER__P_T30_H
28
29 #define CDG_ENTER__FILENAME _P_T30_H
30 #define CDG_ENTER__P_T30_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_T30_H__LAST_MODIFIED _2002_04_23
32 #define CDG_ENTER__P_T30_H__ID_AND_VERSION _8411_104_98_312
33
34 #define CDG_ENTER__P_T30_H__SRC_FILE_TIME _Thu_Nov_29_09_54_28_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_T30_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_t30.val"
44
45 #ifndef __T_dis__
46 #define __T_dis__
47 /*
48 * digital identification signal
49 * CCDGEN:WriteStruct_Count==3074
50 */
51 typedef struct
52 {
53 U8 v8; /*< 0: 1> V.8 capabilities */
54 U8 n_byte; /*< 1: 1> no. of octets preferred */
55 U8 ready_tx_fax; /*< 2: 1> ready to transmit a facsimile document (polling) */
56 U8 rec_fax_op; /*< 3: 1> receiver fax operation */
57 U8 data_sig_rate; /*< 4: 1> data signalling rate */
58 U8 R8_lines_pels; /*< 5: 1> R8*7.7 lines/mm and/or 200 x 200 pels/25.4 mm */
59 U8 two_dim_coding; /*< 6: 1> two-dimensional coding */
60 U8 rec_width; /*< 7: 1> recording-width */
61 U8 max_rec_len; /*< 8: 1> maximum recording length */
62 U8 min_scan_time; /*< 9: 1> minimum scan line time at the receiver */
63 U8 uncomp_mode; /*< 10: 1> uncompressed mode */
64 U8 err_corr_mode; /*< 11: 1> error correction mode */
65 U8 frame_size; /*< 12: 1> frame size */
66 U8 t6_coding; /*< 13: 1> T.6 coding */
67 U8 R8_lines; /*< 14: 1> R8*15.4 lines/mm */
68 U8 r_300_pels; /*< 15: 1> 300*300 pels/25.4 mm */
69 U8 R16_lines_pels; /*< 16: 1> R16*15.4 lines/mm and/or 400*400 pels/25.4 mm */
70 U8 resolution_type; /*< 17: 1> resolution type selection */
71 U8 i_res_pref; /*< 18: 1> inch based resolution preferred */
72 U8 m_res_pref; /*< 19: 1> metric-based resolution preferred */
73 U8 min_scan_time_hr; /*< 20: 1> minimum scan line time for higher resolutions */
74 U8 sel_polling; /*< 21: 1> selective polling */
75 U8 subaddr; /*< 22: 1> subaddressing */
76 U8 password; /*< 23: 1> password */
77 U8 ready_tx_doc; /*< 24: 1> ready to transmit a data file (polling) */
78 U8 bft; /*< 25: 1> Binary File Transfer (BFT) */
79 U8 dtm; /*< 26: 1> Document Transfer Mode (DTM) */
80 U8 edi; /*< 27: 1> Electronic Data Interchange (EDI) */
81 U8 btm; /*< 28: 1> Basic Transfer Mode (BTM) */
82 U8 ready_tx_mixed; /*< 29: 1> ready to transmit a character or mixed mode document (polling) */
83 U8 char_mode; /*< 30: 1> character mode */
84 U8 mixed_mode; /*< 31: 1> mixed mode (Annex E/T.4) */
85 U8 proc_mode_26; /*< 32: 1> processable mode 26) */
86 U8 dig_network_cap; /*< 33: 1> digital network capability */
87 U8 duplex; /*< 34: 1> duplex and half duplex capabilities */
88 U8 jpeg; /*< 35: 1> JPEG coding */
89 U8 full_colour; /*< 36: 1> full colour mode */
90 U8 huffman_tables; /*< 37: 1> preferred Huffman tables */
91 U8 r_12_bits_pel_comp; /*< 38: 1> 12 bits/pel component */
92 U8 no_subsamp; /*< 39: 1> no subsampling */
93 U8 cust_illum; /*< 40: 1> custom illuminant */
94 U8 cust_gamut; /*< 41: 1> custom gamut range */
95 U8 na_letter; /*< 42: 1> North American Letter (215.9*279.4 mm) */
96 U8 na_legal; /*< 43: 1> North American Legal (215.9*355.6 mm) */
97 U8 sing_prog_seq_coding_basic; /*< 44: 1> single-progression sequential coding basic */
98 U8 sing_prog_seq_coding_L0; /*< 45: 1> single-progression sequential coding optional L0 */
99 U8 _align0; /*< 46: 1> alignment */
100 U8 _align1; /*< 47: 1> alignment */
101 } T_dis;
102 #endif
103
104 /*
105 * digital transmit command
106 * CCDGEN:WriteStruct_Count==3075
107 */
108 #ifndef __T_dtc__
109 #define __T_dtc__
110 typedef T_dis T_dtc;
111 #endif
112 /*
113 * digital command signal
114 * CCDGEN:WriteStruct_Count==3076
115 */
116 #ifndef __T_dcs__
117 #define __T_dcs__
118 typedef T_dis T_dcs;
119 #endif
120 #ifndef __T_hdlc_info__
121 #define __T_hdlc_info__
122 /*
123 * HDLC information field
124 * CCDGEN:WriteStruct_Count==3077
125 */
126 typedef struct
127 {
128 U8 crp; /*< 0: 1> CRP flag */
129 U8 c_pwd; /*< 1: 1> length of PWD */
130 U8 pwd[PWD_LEN]; /*< 2: 20> password */
131 U8 c_sub; /*< 22: 1> length of SUB */
132 U8 sub[SUB_LEN]; /*< 23: 20> subaddress */
133 U8 c_sep; /*< 43: 1> length of SEP */
134 U8 sep[SEP_LEN]; /*< 44: 20> selective polling */
135 U8 c_nsc; /*< 64: 1> length of NSC */
136 U8 nsc[NSC_LEN]; /*< 65: 90> non-standard facilities command */
137 U8 c_nsf; /*<155: 1> length of NSF */
138 U8 nsf[NSF_LEN]; /*<156: 90> non-standard facilities */
139 U8 c_tsi; /*<246: 1> length of TSI */
140 U8 tsi[TSI_LEN]; /*<247: 20> transmitting subscriber identification */
141 U8 c_cig; /*<267: 1> length of CIG */
142 U8 cig[CIG_LEN]; /*<268: 20> calling subscriber identification */
143 U8 c_csi; /*<288: 1> length of CSI */
144 U8 csi[CSI_LEN]; /*<289: 20> calling subscriber identification */
145 U8 c_nss; /*<309: 1> length of NSS */
146 U8 nss[NSS_LEN]; /*<310: 90> non-standard set-up */
147 U8 v_dis; /*<400: 1> DIS flag */
148 U8 _align0; /*<401: 1> alignment */
149 U8 _align1; /*<402: 1> alignment */
150 U8 _align2; /*<403: 1> alignment */
151 T_dis dis; /*<404: 48> digital identification signal */
152 U8 v_dcs; /*<452: 1> DCS flag */
153 U8 _align3; /*<453: 1> alignment */
154 U8 _align4; /*<454: 1> alignment */
155 U8 _align5; /*<455: 1> alignment */
156 T_dcs dcs; /*<456: 48> digital command signal */
157 U8 v_dtc; /*<504: 1> DTC flag */
158 U8 _align6; /*<505: 1> alignment */
159 U8 _align7; /*<506: 1> alignment */
160 U8 _align8; /*<507: 1> alignment */
161 T_dtc dtc; /*<508: 48> digital transmit command */
162 } T_hdlc_info;
163 #endif
164
165
166 /*
167 * End of substructure section, begin of primitive definition section
168 */
169
170 #ifndef __T_T30_ACTIVATE_REQ__
171 #define __T_T30_ACTIVATE_REQ__
172 /*
173 *
174 * CCDGEN:WriteStruct_Count==3080
175 */
176 typedef struct
177 {
178 U16 trans_rate; /*< 0: 2> transmission rate */
179 U8 half_rate; /*< 2: 1> half-rate flag */
180 U8 threshold; /*< 3: 1> tcf threshold */
181 U16 frames_per_prim; /*< 4: 2> no. of frames per primitive */
182 U8 bitorder; /*< 6: 1> Bitorder */
183 U8 _align0; /*< 7: 1> alignment */
184 } T_T30_ACTIVATE_REQ;
185 #endif
186
187 #ifndef __T_T30_CONFIG_REQ__
188 #define __T_T30_CONFIG_REQ__
189 /*
190 *
191 * CCDGEN:WriteStruct_Count==3081
192 */
193 typedef struct
194 {
195 U8 hdlc_report; /*< 0: 1> HDLC report mode */
196 U8 _align0; /*< 1: 1> alignment */
197 U16 test_mode; /*< 2: 2> Test mode */
198 } T_T30_CONFIG_REQ;
199 #endif
200
201 #ifndef __T_T30_CAP_IND__
202 #define __T_T30_CAP_IND__
203 /*
204 *
205 * CCDGEN:WriteStruct_Count==3082
206 */
207 typedef struct
208 {
209 T_hdlc_info hdlc_info; /*< 0:556> HDLC information field */
210 } T_T30_CAP_IND;
211 #endif
212
213 #ifndef __T_T30_CAP_REQ__
214 #define __T_T30_CAP_REQ__
215 /*
216 *
217 * CCDGEN:WriteStruct_Count==3083
218 */
219 typedef struct
220 {
221 T_hdlc_info hdlc_info; /*< 0:556> HDLC information field */
222 } T_T30_CAP_REQ;
223 #endif
224
225 #ifndef __T_T30_DTI_REQ__
226 #define __T_T30_DTI_REQ__
227 /*
228 *
229 * CCDGEN:WriteStruct_Count==3084
230 */
231 typedef struct
232 {
233 U8 dti_conn; /*< 0: 1> DTI connect */
234 U8 entity_name[T30_ENTITY_NAME_LEN]; /*< 1: 6> name of an neighbour entity */
235 U8 _align0; /*< 7: 1> alignment */
236 U32 link_id; /*< 8: 4> Link identifier */
237 U8 dti_direction; /*< 12: 1> DTI direction */
238 U8 _align1; /*< 13: 1> alignment */
239 U8 _align2; /*< 14: 1> alignment */
240 U8 _align3; /*< 15: 1> alignment */
241 } T_T30_DTI_REQ;
242 #endif
243
244 #ifndef __T_T30_DTI_CNF__
245 #define __T_T30_DTI_CNF__
246 /*
247 *
248 * CCDGEN:WriteStruct_Count==3085
249 */
250 typedef struct
251 {
252 U8 dti_conn; /*< 0: 1> DTI connect */
253 U8 _align0; /*< 1: 1> alignment */
254 U8 _align1; /*< 2: 1> alignment */
255 U8 _align2; /*< 3: 1> alignment */
256 } T_T30_DTI_CNF;
257 #endif
258
259 #ifndef __T_T30_DTI_IND__
260 #define __T_T30_DTI_IND__
261 /*
262 *
263 * CCDGEN:WriteStruct_Count==3086
264 */
265 typedef struct
266 {
267 U8 dummy; /*< 0: 1> no parameters */
268 } T_T30_DTI_IND;
269 #endif
270
271 #ifndef __T_T30_PHASE_IND__
272 #define __T_T30_PHASE_IND__
273 /*
274 *
275 * CCDGEN:WriteStruct_Count==3087
276 */
277 typedef struct
278 {
279 U8 phase; /*< 0: 1> T.30 phase */
280 U8 _align0; /*< 1: 1> alignment */
281 U8 _align1; /*< 2: 1> alignment */
282 U8 _align2; /*< 3: 1> alignment */
283 } T_T30_PHASE_IND;
284 #endif
285
286 #ifndef __T_T30_SGN_IND__
287 #define __T_T30_SGN_IND__
288 /*
289 *
290 * CCDGEN:WriteStruct_Count==3088
291 */
292 typedef struct
293 {
294 U8 sgn; /*< 0: 1> binary coded signal */
295 U8 _align0; /*< 1: 1> alignment */
296 U8 _align1; /*< 2: 1> alignment */
297 U8 _align2; /*< 3: 1> alignment */
298 } T_T30_SGN_IND;
299 #endif
300
301 #ifndef __T_T30_SGN_REQ__
302 #define __T_T30_SGN_REQ__
303 /*
304 *
305 * CCDGEN:WriteStruct_Count==3089
306 */
307 typedef struct
308 {
309 U8 sgn; /*< 0: 1> binary coded signal */
310 U8 _align0; /*< 1: 1> alignment */
311 U8 _align1; /*< 2: 1> alignment */
312 U8 _align2; /*< 3: 1> alignment */
313 } T_T30_SGN_REQ;
314 #endif
315
316 #ifndef __T_T30_CMPL_IND__
317 #define __T_T30_CMPL_IND__
318 /*
319 *
320 * CCDGEN:WriteStruct_Count==3090
321 */
322 typedef struct
323 {
324 U8 cmpl; /*< 0: 1> completion */
325 U8 _align0; /*< 1: 1> alignment */
326 U8 _align1; /*< 2: 1> alignment */
327 U8 _align2; /*< 3: 1> alignment */
328 } T_T30_CMPL_IND;
329 #endif
330
331 #ifndef __T_T30_REPORT_IND__
332 #define __T_T30_REPORT_IND__
333 /*
334 *
335 * CCDGEN:WriteStruct_Count==3091
336 */
337 typedef struct
338 {
339 U8 dir; /*< 0: 1> direction of call */
340 U8 _align0; /*< 1: 1> alignment */
341 U8 _align1; /*< 2: 1> alignment */
342 U8 _align2; /*< 3: 1> alignment */
343 T_sdu sdu; /*< 4: ? > Service Data Unit */
344 } T_T30_REPORT_IND;
345 #endif
346
347 #ifndef __T_T30_MODIFY_REQ__
348 #define __T_T30_MODIFY_REQ__
349 /*
350 *
351 * CCDGEN:WriteStruct_Count==3092
352 */
353 typedef struct
354 {
355 U16 trans_rate; /*< 0: 2> transmission rate */
356 U8 half_rate; /*< 2: 1> half-rate flag */
357 U8 _align0; /*< 3: 1> alignment */
358 } T_T30_MODIFY_REQ;
359 #endif
360
361 #ifndef __T_T30_ERROR_IND__
362 #define __T_T30_ERROR_IND__
363 /*
364 *
365 * CCDGEN:WriteStruct_Count==3093
366 */
367 typedef struct
368 {
369 U16 cause; /*< 0: 2> error cause */
370 U8 _align0; /*< 2: 1> alignment */
371 U8 _align1; /*< 3: 1> alignment */
372 } T_T30_ERROR_IND;
373 #endif
374
375 #ifndef __T_T30_EOL_IND__
376 #define __T_T30_EOL_IND__
377 /*
378 *
379 * CCDGEN:WriteStruct_Count==3094
380 */
381 typedef struct
382 {
383 U16 eol; /*< 0: 2> end of line count */
384 U8 _align0; /*< 2: 1> alignment */
385 U8 _align1; /*< 3: 1> alignment */
386 } T_T30_EOL_IND;
387 #endif
388
389 #ifndef __T_T30_DEACTIVATE_REQ__
390 #define __T_T30_DEACTIVATE_REQ__
391 /*
392 *
393 * CCDGEN:WriteStruct_Count==3095
394 */
395 typedef struct
396 {
397 U8 dummy; /*< 0: 1> no parameters */
398 } T_T30_DEACTIVATE_REQ;
399 #endif
400
401 #ifndef __T_T30_DEACTIVATE_CNF__
402 #define __T_T30_DEACTIVATE_CNF__
403 /*
404 *
405 * CCDGEN:WriteStruct_Count==3096
406 */
407 typedef struct
408 {
409 U8 dummy; /*< 0: 1> no parameters */
410 } T_T30_DEACTIVATE_CNF;
411 #endif
412
413 #ifndef __T_T30_ACTIVATE_CNF__
414 #define __T_T30_ACTIVATE_CNF__
415 /*
416 *
417 * CCDGEN:WriteStruct_Count==3097
418 */
419 typedef struct
420 {
421 U16 buf_size_rx; /*< 0: 2> buffer size RX */
422 U16 buf_size_tx; /*< 2: 2> buffer size TX */
423 } T_T30_ACTIVATE_CNF;
424 #endif
425
426 #ifndef __T_T30_PREAMBLE_IND__
427 #define __T_T30_PREAMBLE_IND__
428 /*
429 *
430 * CCDGEN:WriteStruct_Count==3098
431 */
432 typedef struct
433 {
434 U8 dummy; /*< 0: 1> no parameters */
435 } T_T30_PREAMBLE_IND;
436 #endif
437
438
439 #include "CDG_LEAVE.h"
440
441
442 #endif