FreeCalypso > hg > fc-magnetite
comparison cdg3/cdginc-conservative/p_dcm.h @ 16:c15047b3d00d
cdg3: import from freecalypso-citrine/cdg
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Sep 2016 16:27:34 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:c8bdae60fcb1 | 16:c15047b3d00d |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_dcm.h | | |
5 | SOURCE : "sap\dcm.pdf" | | |
6 | LastModified : "2003-09-03" | | |
7 | IdAndVersion : "8462.101.03.001" | | |
8 | SrcFileTime : "Thu Nov 29 09:39:32 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 | | |
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_DCM_H | |
24 #define P_DCM_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_DCM_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_DCM_H | |
30 #define CDG_ENTER__P_DCM_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_DCM_H__LAST_MODIFIED _2003_09_03 | |
32 #define CDG_ENTER__P_DCM_H__ID_AND_VERSION _8462_101_03_001 | |
33 | |
34 #define CDG_ENTER__P_DCM_H__SRC_FILE_TIME _Thu_Nov_29_09_39_32_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_DCM_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_dcm.val" | |
44 | |
45 #ifndef __T_dcm_info_conn__ | |
46 #define __T_dcm_info_conn__ | |
47 /* | |
48 * Connection information | |
49 * CCDGEN:WriteStruct_Count==1178 | |
50 */ | |
51 typedef struct | |
52 { | |
53 U16 bearer_handle; /*< 0: 2> Bearer handle */ | |
54 U16 app_handle; /*< 2: 2> Comm handle of application */ | |
55 U8 bearer_type; /*< 4: 1> Used bearer type */ | |
56 U8 apn_valid; /*< 5: 1> Flag for apn validation */ | |
57 U8 apn[CDCM_APN_MAX_LEN + 1]; /*< 6:101> Access Point Name */ | |
58 U8 phone_number_valid; /*<107: 1> Flag for phone number validation */ | |
59 U8 phone_number[CDCM_PHONE_NR_LEN + 1]; /*<108: 85> CSD dial up phone number */ | |
60 U8 user_id_valid; /*<193: 1> Flag for user ID validation */ | |
61 U8 user_id[CDCM_USER_MAX_LEN + 1]; /*<194: 26> User ID */ | |
62 U8 password_valid; /*<220: 1> Flag for password validation */ | |
63 U8 password[CDCM_PASSWORD_MAX_LEN + 1]; /*<221: 26> Password */ | |
64 U8 _align0; /*<247: 1> alignment */ | |
65 U16 cid; /*<248: 2> GPRS context ID */ | |
66 U8 _align1; /*<250: 1> alignment */ | |
67 U8 _align2; /*<251: 1> alignment */ | |
68 U32 ip_address; /*<252: 4> Used IP address */ | |
69 U32 dns1; /*<256: 4> First domain name server */ | |
70 U32 dns2; /*<260: 4> Second domain name server */ | |
71 U32 gateway; /*<264: 4> Gateway address */ | |
72 U16 auth_type; /*<268: 2> Type of authentication */ | |
73 U8 data_compr; /*<270: 1> Flag for data compression */ | |
74 U8 header_compr; /*<271: 1> Flag for header compression */ | |
75 U16 precedence; /*<272: 2> GPRS precedence class */ | |
76 U16 delay; /*<274: 2> GPRS delay class */ | |
77 U16 reliability; /*<276: 2> GPRS reliability class */ | |
78 U16 peak_throughput; /*<278: 2> GPRS peak throughput */ | |
79 U16 mean_throughput; /*<280: 2> GPRS mean throughput */ | |
80 U8 shareable; /*<282: 1> Flag for sharing requested bearer conn */ | |
81 U8 _align3; /*<283: 1> alignment */ | |
82 } T_dcm_info_conn; | |
83 #endif | |
84 | |
85 | |
86 /* | |
87 * End of substructure section, begin of primitive definition section | |
88 */ | |
89 | |
90 #ifndef __T_DCM_OPEN_CONN_REQ__ | |
91 #define __T_DCM_OPEN_CONN_REQ__ | |
92 /* | |
93 * | |
94 * CCDGEN:WriteStruct_Count==1179 | |
95 */ | |
96 typedef struct | |
97 { | |
98 U32 api_instance; /*< 0: 4> The api_instance value returned by sock_api_initialize(). */ | |
99 S32 bearer_select; /*< 4: 4> Bearer type */ | |
100 U16 profile_number; /*< 8: 2> Profile ID for bearer selection */ | |
101 U8 _align0; /*< 10: 1> alignment */ | |
102 U8 _align1; /*< 11: 1> alignment */ | |
103 T_dcm_info_conn dcm_info_conn; /*< 12:284> Connection information */ | |
104 } T_DCM_OPEN_CONN_REQ; | |
105 #endif | |
106 | |
107 #ifndef __T_DCM_OPEN_CONN_CNF__ | |
108 #define __T_DCM_OPEN_CONN_CNF__ | |
109 /* | |
110 * | |
111 * CCDGEN:WriteStruct_Count==1180 | |
112 */ | |
113 typedef struct | |
114 { | |
115 S32 result; /*< 0: 4> Result of the operation */ | |
116 U16 bearer_handle; /*< 4: 2> Bearer handle */ | |
117 U8 _align0; /*< 6: 1> alignment */ | |
118 U8 _align1; /*< 7: 1> alignment */ | |
119 } T_DCM_OPEN_CONN_CNF; | |
120 #endif | |
121 | |
122 #ifndef __T_DCM_CLOSE_CONN_REQ__ | |
123 #define __T_DCM_CLOSE_CONN_REQ__ | |
124 /* | |
125 * | |
126 * CCDGEN:WriteStruct_Count==1181 | |
127 */ | |
128 typedef struct | |
129 { | |
130 U32 api_instance; /*< 0: 4> The api_instance value returned by sock_api_initialize(). */ | |
131 U16 bearer_handle; /*< 4: 2> Bearer handle */ | |
132 U8 _align0; /*< 6: 1> alignment */ | |
133 U8 _align1; /*< 7: 1> alignment */ | |
134 } T_DCM_CLOSE_CONN_REQ; | |
135 #endif | |
136 | |
137 #ifndef __T_DCM_CLOSE_CONN_CNF__ | |
138 #define __T_DCM_CLOSE_CONN_CNF__ | |
139 /* | |
140 * | |
141 * CCDGEN:WriteStruct_Count==1182 | |
142 */ | |
143 typedef struct | |
144 { | |
145 S32 result; /*< 0: 4> Result of the operation */ | |
146 } T_DCM_CLOSE_CONN_CNF; | |
147 #endif | |
148 | |
149 #ifndef __T_DCM_GET_CURRENT_CONN_REQ__ | |
150 #define __T_DCM_GET_CURRENT_CONN_REQ__ | |
151 /* | |
152 * | |
153 * CCDGEN:WriteStruct_Count==1183 | |
154 */ | |
155 typedef struct | |
156 { | |
157 U32 api_instance; /*< 0: 4> The api_instance value returned by sock_api_initialize(). */ | |
158 U16 bearer_handle; /*< 4: 2> Bearer handle */ | |
159 U8 _align0; /*< 6: 1> alignment */ | |
160 U8 _align1; /*< 7: 1> alignment */ | |
161 } T_DCM_GET_CURRENT_CONN_REQ; | |
162 #endif | |
163 | |
164 #ifndef __T_DCM_GET_CURRENT_CONN_CNF__ | |
165 #define __T_DCM_GET_CURRENT_CONN_CNF__ | |
166 /* | |
167 * | |
168 * CCDGEN:WriteStruct_Count==1184 | |
169 */ | |
170 typedef struct | |
171 { | |
172 S32 result; /*< 0: 4> Result of the operation */ | |
173 T_dcm_info_conn dcm_info_conn; /*< 4:284> Connection information */ | |
174 } T_DCM_GET_CURRENT_CONN_CNF; | |
175 #endif | |
176 | |
177 #ifndef __T_DCM_ERROR_IND__ | |
178 #define __T_DCM_ERROR_IND__ | |
179 /* | |
180 * | |
181 * CCDGEN:WriteStruct_Count==1185 | |
182 */ | |
183 typedef struct | |
184 { | |
185 S32 dcm_err; /*< 0: 4> Error value */ | |
186 S32 result; /*< 4: 4> Result of the operation */ | |
187 } T_DCM_ERROR_IND; | |
188 #endif | |
189 | |
190 | |
191 #include "CDG_LEAVE.h" | |
192 | |
193 | |
194 #endif |