Changeset 1482:8232878f292d in freeDiameter for extensions/dict_dcca_3gpp/dict_dcca_3gpp.c
- Timestamp:
- Mar 26, 2020, 1:31:54 PM (4 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/dict_dcca_3gpp/dict_dcca_3gpp.c
r1481 r1482 14605 14605 /*==================================================================*/ 14606 14606 /* OMA DDS Charging_Data V1.0 20110201-A */ 14607 /* From OMA OMA-DDS-Charging_Data-V1_0-20110201-A.pdf */ 14607 14608 /*==================================================================*/ 14608 14609 … … 14620 14621 }; 14621 14622 14622 /* Application-Service-Type, UTF8String, code 2102, section 8.4 */ 14623 /* Note: Application-Service-Type (2102) corrected from UTF8String to Enumerated. */ 14624 /* Application-Service-Type, Enumerated, code 2102, section 8.4 */ 14623 14625 { 14624 14626 struct dict_avp_data data = { … … 14628 14630 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ 14629 14631 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ 14630 AVP_TYPE_OCTETSTRING /* base type of data */ 14631 }; 14632 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL); 14633 }; 14634 14635 /* Application-Session-Id, UTF8String, code 2103, section 8.4 */ 14632 AVP_TYPE_INTEGER32 /* base type of data */ 14633 }; 14634 struct dict_object *type; 14635 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Application-Service-Type)", NULL, NULL, NULL }; 14636 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 14637 CHECK_dict_new(DICT_AVP, &data, type, NULL); 14638 }; 14639 14640 /* Note: Application–Session–Id (2103) corrected from UTF8String to Unsigned32. */ 14641 /* Application-Session-Id, Unsigned32, code 2103, section 8.4 */ 14636 14642 { 14637 14643 struct dict_avp_data data = { … … 14641 14647 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ 14642 14648 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */ 14643 AVP_TYPE_ OCTETSTRING/* base type of data */14644 }; 14645 CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);14649 AVP_TYPE_UNSIGNED32 /* base type of data */ 14650 }; 14651 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 14646 14652 }; 14647 14653
Note: See TracChangeset
for help on using the changeset viewer.