3 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #ifndef DM_CP_STRUCT_H_
19 #define DM_CP_STRUCT_H_
25 typedef struct string_node {
27 struct string_node *next;
30 typedef struct dm_cp_port {
32 String_Node *service; /* * */
33 struct dm_cp_port *next;
36 /************************ PXLOGICAL *****************************/
38 typedef struct dm_cp_pxlogical_pxauthinfo {
40 char *pxAuth_id; /* ? */
41 char *pxAuth_pw; /* ? */
42 struct dm_cp_pxlogical_pxauthinfo *next;
43 } DM_CP_PxLogical_PxAuthInfo;
45 typedef struct dm_cp_pxlogical_pxphysical {
46 char *physical_proxy_id;
47 String_Node *domain; /* * */
49 char *pxAddrType; /* ? */
50 char *pxAddr_FQDN; /* ? */
51 char *wsp_version; /* ? */
52 char *push_enabled; /* ? */
53 char *pull_enabled; /* ? */
54 String_Node *to_napid; /* + */
55 DM_CP_Port *port; /* * */
56 struct dm_cp_pxlogical_pxphysical *next;
57 } DM_CP_PxLogical_PxPhysical;
59 typedef struct dm_cp_pxlogical {
61 char *proxy_pw; /* ? */
62 char *ppg_auth_type; /* ? */
63 char *proxy_provider_id; /* ? */
65 String_Node *domain; /* * */
68 char *start_page; /* ? */
69 char *bas_auth_id; /* ? */
70 char *bas_auth_pw; /* ? */
71 char *wsp_version; /* ? */
72 char *push_enabled; /* ? */
73 char *pull_enabled; /* ? */
74 DM_CP_PxLogical_PxAuthInfo *pxAuthInfo; /* * */
75 DM_CP_Port *port; /* * */
76 DM_CP_PxLogical_PxPhysical *pxPhysical; /* + */
77 struct dm_cp_pxlogical *next;
80 /************************ BOOTSTRAP *****************************/
82 typedef struct dm_cp_bootstrap {
86 String_Node *proxy_id;
89 struct dm_cp_bootstrap *next;
92 /************************ APPLICATION *****************************/
94 typedef struct dm_cp_application_appaddr {
96 char *addr_type; /* ? */
97 DM_CP_Port *port; /* * */
98 struct dm_cp_application_appaddr *next;
99 } DM_CP_Application_AppAddr;
101 typedef struct dm_cp_application_appauth {
102 char *auth_level; /* ? */
103 char *auth_type; /* ? */
104 char *auth_name; /* ? */
105 char *auth_secret; /* ? */
106 char *auth_data; /* ? */
107 struct dm_cp_application_appauth *next;
108 } DM_CP_Application_AppAuth;
110 typedef struct dm_cp_application_resource {
113 char *accept; /* ? */
114 char *auth_type; /* ? */
115 char *auth_name; /* ? */
116 char *auth_secret; /* ? */
117 char *auth_data; /* ? */
118 char *start_page; /* ? */
119 struct dm_cp_application_resource *next;
120 } DM_CP_Application_Resource;
122 typedef struct dm_cp_application {
124 char *provider_ID; /* ? */
126 char *accept; /* ? */
127 char *protocol; /* ? */
128 String_Node *to_proxy; /* * */
129 String_Node *to_napid; /* * */
130 String_Node *addr; /* * */
131 DM_CP_Application_AppAddr *appAddr; /* * */
132 DM_CP_Application_AppAuth *appAuth; /* * */
133 DM_CP_Application_Resource *resource; /* * */
134 struct dm_cp_application *next;
137 /************************ NAPDEF *****************************/
139 typedef struct dm_cp_napdef_napauthinfo {
141 char *auth_name; /* ? */
142 char *auth_secret; /* ? */
143 String_Node *auth_entity; /* * */
145 struct dm_cp_napdef_napauthinfo *next;
146 } DM_CP_Napdef_AuthInfo;
148 typedef struct dm_cp_napdef_validity {
149 char *country; /* ? */
150 char *network; /* ? */
153 char *validuntil; /* ? */
154 struct dm_cp_napdef_validity *next;
155 } DM_CP_Napdef_validity;
157 typedef struct dm_cp_napdef {
159 String_Node *bearer; /* * */
161 char *internet; /* ? */
163 char *nap_addr_type; /* ? */
164 String_Node *dns_addr; /* * */
165 char *call_type; /* ? */
166 char *local_addr; /* ? */
167 char *local_addr_type; /* ? */
168 char *link_speed; /* ? */
169 char *dn_link_speed; /* ? */
170 char *linger; /* ? */
171 char *delivery_err_sdu; /* ? */
172 char *delivery_order; /* ? */
173 char *traffic_class; /* ? */
174 char *max_sdu_size; /* ? */
175 char *max_bitrate_uplink; /* ? */
176 char *max_bitrate_dnlink; /* ? */
177 char *residual_ber; /* ? */
178 char *sdu_error_ratio; /* ? */
179 char *traffic_handl_prio; /* ? */
180 char *transfer_delay; /* ? */
181 char *guaranteed_bitrate_uplink; /* ? */
182 char *guaranteed_bitrate_dnlink; /* ? */
183 char *max_num_retry; /* ? */
184 char *first_retry_timeout; /* ? */
185 char *rereg_threshold; /* ? */
187 DM_CP_Napdef_AuthInfo *auth_info;
188 DM_CP_Napdef_validity *validity;
189 struct dm_cp_napdef *next;
192 /************************ CP *****************************/
195 DM_CP_Bootstrap *bootstraps;
196 DM_CP_Napdef *napdefs;
197 DM_CP_Application *applications;
198 DM_CP_PxLogical *pxLogical;
201 #endif /* DM_CP_STRUCT_H_ */