comparison extensions/dict_dcca_starent/dict_dcca_starent.c @ 1324:729e5074839f

Consistently start names of Enumerated types with 'Enumerated'.
author Thomas Klausner <tk@giga.or.at>
date Mon, 27 Nov 2017 15:15:59 +0100
parents 9e4e294f1e71
children 4bd30996ad7f
comparison
equal deleted inserted replaced
1323:10143e09abdf 1324:729e5074839f
167 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ 167 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
168 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ 168 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
169 AVP_TYPE_INTEGER32 /* base type of data */ 169 AVP_TYPE_INTEGER32 /* base type of data */
170 }; 170 };
171 struct dict_object *type; 171 struct dict_object *type;
172 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Starent/Enumerated(SN-Bandwidth-Control)", NULL, NULL, NULL }; 172 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Bandwidth-Control)", NULL, NULL, NULL };
173 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 173 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
174 CHECK_dict_new(DICT_AVP, &data, type, NULL); 174 CHECK_dict_new(DICT_AVP, &data, type, NULL);
175 }; 175 };
176 176
177 /* SN-Transparent-Data */ 177 /* SN-Transparent-Data */
261 AVP_FLAG_VENDOR, /* Fixed flags */ 261 AVP_FLAG_VENDOR, /* Fixed flags */
262 AVP_FLAG_VENDOR, /* Fixed flag values */ 262 AVP_FLAG_VENDOR, /* Fixed flag values */
263 AVP_TYPE_INTEGER32 /* base type of data */ 263 AVP_TYPE_INTEGER32 /* base type of data */
264 }; 264 };
265 struct dict_object *type; 265 struct dict_object *type;
266 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Starent/Enumerated(SN-Service-Flow-Detection)", NULL, NULL, NULL }; 266 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Service-Flow-Detection)", NULL, NULL, NULL };
267 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 267 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
268 CHECK_dict_new(DICT_AVP, &data, type, NULL); 268 CHECK_dict_new(DICT_AVP, &data, type, NULL);
269 }; 269 };
270 270
271 /* SN-Usage-Monitoring */ 271 /* SN-Usage-Monitoring */
277 AVP_FLAG_VENDOR, /* Fixed flags */ 277 AVP_FLAG_VENDOR, /* Fixed flags */
278 AVP_FLAG_VENDOR, /* Fixed flag values */ 278 AVP_FLAG_VENDOR, /* Fixed flag values */
279 AVP_TYPE_INTEGER32 /* base type of data */ 279 AVP_TYPE_INTEGER32 /* base type of data */
280 }; 280 };
281 struct dict_object *type; 281 struct dict_object *type;
282 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Starent/Enumerated(SN-Usage-Monitoring)", NULL, NULL, NULL }; 282 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(Starent/SN-Usage-Monitoring)", NULL, NULL, NULL };
283 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 283 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
284 CHECK_dict_new(DICT_AVP, &data, type, NULL); 284 CHECK_dict_new(DICT_AVP, &data, type, NULL);
285 }; 285 };
286 286
287 /* SN-Session-Start-Indicator */ 287 /* SN-Session-Start-Indicator */
"Welcome to our mercurial repository"