Commit e0272aa0 authored by Lev Walkin's avatar Lev Walkin

new internal layout

parent 7d1f3549
......@@ -66,7 +66,7 @@ memb_signature_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
/*** <<< STAT-DEFS [Certificate] >>> ***/
static asn_TYPE_member_t asn_MBR_toBeSigned[] = {
static asn_TYPE_member_t asn_MBR_toBeSigned_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct toBeSigned, version),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -89,24 +89,24 @@ static asn_TYPE_member_t asn_MBR_toBeSigned[] = {
.name = "issuer"
},
};
static ber_tlv_tag_t asn_DEF_toBeSigned_tags[] = {
static ber_tlv_tag_t asn_DEF_toBeSigned_2_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_toBeSigned_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_toBeSigned_2_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* version at 21 */
{ (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, 0, 0 }, /* signature at 22 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* issuer at 24 */
};
static asn_SEQUENCE_specifics_t asn_DEF_toBeSigned_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_toBeSigned_2_specs = {
sizeof(struct toBeSigned),
offsetof(struct toBeSigned, _asn_ctx),
asn_DEF_toBeSigned_tag2el,
asn_MAP_toBeSigned_2_tag2el,
3, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_toBeSigned = {
asn_TYPE_descriptor_t asn_DEF_toBeSigned_2 = {
"toBeSigned",
"toBeSigned",
SEQUENCE_free,
......@@ -117,22 +117,22 @@ asn_TYPE_descriptor_t asn_DEF_toBeSigned = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_toBeSigned_tags,
sizeof(asn_DEF_toBeSigned_tags)
/sizeof(asn_DEF_toBeSigned_tags[0]), /* 1 */
asn_DEF_toBeSigned_tags, /* Same as above */
sizeof(asn_DEF_toBeSigned_tags)
/sizeof(asn_DEF_toBeSigned_tags[0]), /* 1 */
asn_MBR_toBeSigned,
asn_DEF_toBeSigned_2_tags,
sizeof(asn_DEF_toBeSigned_2_tags)
/sizeof(asn_DEF_toBeSigned_2_tags[0]), /* 1 */
asn_DEF_toBeSigned_2_tags, /* Same as above */
sizeof(asn_DEF_toBeSigned_2_tags)
/sizeof(asn_DEF_toBeSigned_2_tags[0]), /* 1 */
asn_MBR_toBeSigned_2,
3, /* Elements count */
&asn_DEF_toBeSigned_specs /* Additional specs */
&asn_SPC_toBeSigned_2_specs /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_Certificate[] = {
static asn_TYPE_member_t asn_MBR_Certificate_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Certificate, toBeSigned),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_toBeSigned,
.type = (void *)&asn_DEF_toBeSigned_2,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "toBeSigned"
},
......@@ -151,18 +151,18 @@ static asn_TYPE_member_t asn_MBR_Certificate[] = {
.name = "signature"
},
};
static ber_tlv_tag_t asn_DEF_Certificate_tags[] = {
static ber_tlv_tag_t asn_DEF_Certificate_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_Certificate_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_Certificate_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 2, 0, 0 }, /* signature at 17 */
{ (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, 0, 0 }, /* algorithm at 16 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* toBeSigned at 21 */
};
static asn_SEQUENCE_specifics_t asn_DEF_Certificate_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_Certificate_1_specs = {
sizeof(struct Certificate),
offsetof(struct Certificate, _asn_ctx),
asn_DEF_Certificate_tag2el,
asn_MAP_Certificate_1_tag2el,
3, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -178,15 +178,15 @@ asn_TYPE_descriptor_t asn_DEF_Certificate = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_Certificate_tags,
sizeof(asn_DEF_Certificate_tags)
/sizeof(asn_DEF_Certificate_tags[0]), /* 1 */
asn_DEF_Certificate_tags, /* Same as above */
sizeof(asn_DEF_Certificate_tags)
/sizeof(asn_DEF_Certificate_tags[0]), /* 1 */
asn_MBR_Certificate,
asn_DEF_Certificate_1_tags,
sizeof(asn_DEF_Certificate_1_tags)
/sizeof(asn_DEF_Certificate_1_tags[0]), /* 1 */
asn_DEF_Certificate_1_tags, /* Same as above */
sizeof(asn_DEF_Certificate_1_tags)
/sizeof(asn_DEF_Certificate_1_tags[0]), /* 1 */
asn_MBR_Certificate_1,
3, /* Elements count */
&asn_DEF_Certificate_specs /* Additional specs */
&asn_SPC_Certificate_1_specs /* Additional specs */
};
......@@ -212,7 +212,7 @@ typedef struct Name {
/*** <<< STAT-DEFS [Name] >>> ***/
static asn_TYPE_member_t asn_MBR_Name[] = {
static asn_TYPE_member_t asn_MBR_Name_1[] = {
{ ATF_NOFLAGS, 0, 0,
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
......@@ -221,10 +221,10 @@ static asn_TYPE_member_t asn_MBR_Name[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Name_tags[] = {
static ber_tlv_tag_t asn_DEF_Name_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_DEF_Name_specs = {
static asn_SET_OF_specifics_t asn_SPC_Name_1_specs = {
sizeof(struct Name),
offsetof(struct Name, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
......@@ -240,15 +240,15 @@ asn_TYPE_descriptor_t asn_DEF_Name = {
SEQUENCE_OF_decode_xer,
SEQUENCE_OF_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_Name_tags,
sizeof(asn_DEF_Name_tags)
/sizeof(asn_DEF_Name_tags[0]), /* 1 */
asn_DEF_Name_tags, /* Same as above */
sizeof(asn_DEF_Name_tags)
/sizeof(asn_DEF_Name_tags[0]), /* 1 */
asn_MBR_Name,
asn_DEF_Name_1_tags,
sizeof(asn_DEF_Name_1_tags)
/sizeof(asn_DEF_Name_1_tags[0]), /* 1 */
asn_DEF_Name_1_tags, /* Same as above */
sizeof(asn_DEF_Name_1_tags)
/sizeof(asn_DEF_Name_1_tags[0]), /* 1 */
asn_MBR_Name_1,
1, /* Single element */
&asn_DEF_Name_specs /* Additional specs */
&asn_SPC_Name_1_specs /* Additional specs */
};
......@@ -303,7 +303,7 @@ static int check_permitted_alphabet_1(const void *sptr) {
/*** <<< CODE [RelativeDistinguishedName] >>> ***/
static int
memb_IA5String_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
memb_IA5String_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_consume_bytes_f *app_errlog, void *app_key) {
const IA5String_t *st = (const IA5String_t *)sptr;
......@@ -329,19 +329,19 @@ memb_IA5String_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
/*** <<< STAT-DEFS [RelativeDistinguishedName] >>> ***/
static asn_TYPE_member_t asn_MBR_RelativeDistinguishedName[] = {
static asn_TYPE_member_t asn_MBR_RelativeDistinguishedName_1[] = {
{ ATF_NOFLAGS, 0, 0,
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_IA5String,
.memb_constraints = memb_IA5String_2_constraint,
.memb_constraints = memb_IA5String_1_constraint,
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_RelativeDistinguishedName_tags[] = {
static ber_tlv_tag_t asn_DEF_RelativeDistinguishedName_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_DEF_RelativeDistinguishedName_specs = {
static asn_SET_OF_specifics_t asn_SPC_RelativeDistinguishedName_1_specs = {
sizeof(struct RelativeDistinguishedName),
offsetof(struct RelativeDistinguishedName, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
......@@ -357,14 +357,14 @@ asn_TYPE_descriptor_t asn_DEF_RelativeDistinguishedName = {
SET_OF_decode_xer,
SET_OF_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_RelativeDistinguishedName_tags,
sizeof(asn_DEF_RelativeDistinguishedName_tags)
/sizeof(asn_DEF_RelativeDistinguishedName_tags[0]), /* 1 */
asn_DEF_RelativeDistinguishedName_tags, /* Same as above */
sizeof(asn_DEF_RelativeDistinguishedName_tags)
/sizeof(asn_DEF_RelativeDistinguishedName_tags[0]), /* 1 */
asn_MBR_RelativeDistinguishedName,
asn_DEF_RelativeDistinguishedName_1_tags,
sizeof(asn_DEF_RelativeDistinguishedName_1_tags)
/sizeof(asn_DEF_RelativeDistinguishedName_1_tags[0]), /* 1 */
asn_DEF_RelativeDistinguishedName_1_tags, /* Same as above */
sizeof(asn_DEF_RelativeDistinguishedName_1_tags)
/sizeof(asn_DEF_RelativeDistinguishedName_1_tags[0]), /* 1 */
asn_MBR_RelativeDistinguishedName_1,
1, /* Single element */
&asn_DEF_RelativeDistinguishedName_specs /* Additional specs */
&asn_SPC_RelativeDistinguishedName_1_specs /* Additional specs */
};
......@@ -41,7 +41,7 @@ typedef struct T {
/*** <<< STAT-DEFS [T] >>> ***/
static asn_TYPE_member_t asn_MBR_T[] = {
static asn_TYPE_member_t asn_MBR_T_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T, i),
.tag = (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -64,27 +64,27 @@ static asn_TYPE_member_t asn_MBR_T[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_T_tags[] = {
static ber_tlv_tag_t asn_DEF_T_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), 1, 0, 0 }, /* s at 16 */
{ (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 0, 0, 0 }, /* i at 15 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b at 18 */
};
static uint8_t asn_DEF_T_mmap[(3 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static uint8_t asn_MAP_T_1_mmap[(3 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) | (1 << 6) | (0 << 5)
};
static asn_SET_specifics_t asn_DEF_T_specs = {
static asn_SET_specifics_t asn_SPC_T_1_specs = {
sizeof(struct T),
offsetof(struct T, _asn_ctx),
offsetof(struct T, _presence_map),
asn_DEF_T_tag2el,
asn_MAP_T_1_tag2el,
3, /* Count of tags in the map */
asn_DEF_T_tag2el, /* Same as above */
asn_MAP_T_1_tag2el, /* Same as above */
3, /* Count of tags in the CXER map */
1, /* Whether extensible */
(unsigned int *)asn_DEF_T_mmap /* Mandatory elements map */
(unsigned int *)asn_MAP_T_1_mmap /* Mandatory elements map */
};
asn_TYPE_descriptor_t asn_DEF_T = {
"T",
......@@ -97,14 +97,14 @@ asn_TYPE_descriptor_t asn_DEF_T = {
SET_decode_xer,
SET_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T_tags,
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]), /* 1 */
asn_DEF_T_tags, /* Same as above */
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]), /* 1 */
asn_MBR_T,
asn_DEF_T_1_tags,
sizeof(asn_DEF_T_1_tags)
/sizeof(asn_DEF_T_1_tags[0]), /* 1 */
asn_DEF_T_1_tags, /* Same as above */
sizeof(asn_DEF_T_1_tags)
/sizeof(asn_DEF_T_1_tags[0]), /* 1 */
asn_MBR_T_1,
3, /* Elements count */
&asn_DEF_T_specs /* Additional specs */
&asn_SPC_T_1_specs /* Additional specs */
};
This diff is collapsed.
......@@ -21,7 +21,7 @@ typedef struct Programming {
/*** <<< STAT-DEFS [Programming] >>> ***/
static asn_TYPE_member_t asn_MBR_Programming[] = {
static asn_TYPE_member_t asn_MBR_Programming_1[] = {
{ ATF_NOFLAGS, 0, 0,
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -30,10 +30,10 @@ static asn_TYPE_member_t asn_MBR_Programming[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Programming_tags[] = {
static ber_tlv_tag_t asn_DEF_Programming_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_DEF_Programming_specs = {
static asn_SET_OF_specifics_t asn_SPC_Programming_1_specs = {
sizeof(struct Programming),
offsetof(struct Programming, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
......@@ -49,15 +49,15 @@ asn_TYPE_descriptor_t asn_DEF_Programming = {
SEQUENCE_OF_decode_xer,
SEQUENCE_OF_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_Programming_tags,
sizeof(asn_DEF_Programming_tags)
/sizeof(asn_DEF_Programming_tags[0]), /* 1 */
asn_DEF_Programming_tags, /* Same as above */
sizeof(asn_DEF_Programming_tags)
/sizeof(asn_DEF_Programming_tags[0]), /* 1 */
asn_MBR_Programming,
asn_DEF_Programming_1_tags,
sizeof(asn_DEF_Programming_1_tags)
/sizeof(asn_DEF_Programming_1_tags[0]), /* 1 */
asn_DEF_Programming_1_tags, /* Same as above */
sizeof(asn_DEF_Programming_1_tags)
/sizeof(asn_DEF_Programming_1_tags[0]), /* 1 */
asn_MBR_Programming_1,
1, /* Single element */
&asn_DEF_Programming_specs /* Additional specs */
&asn_SPC_Programming_1_specs /* Additional specs */
};
......@@ -83,7 +83,7 @@ typedef struct Fault {
/*** <<< STAT-DEFS [Fault] >>> ***/
static asn_TYPE_member_t asn_MBR_Fault[] = {
static asn_TYPE_member_t asn_MBR_Fault_1[] = {
{ ATF_NOFLAGS, 0, 0,
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
......@@ -92,10 +92,10 @@ static asn_TYPE_member_t asn_MBR_Fault[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Fault_tags[] = {
static ber_tlv_tag_t asn_DEF_Fault_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_DEF_Fault_specs = {
static asn_SET_OF_specifics_t asn_SPC_Fault_1_specs = {
sizeof(struct Fault),
offsetof(struct Fault, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
......@@ -111,15 +111,15 @@ asn_TYPE_descriptor_t asn_DEF_Fault = {
SET_OF_decode_xer,
SET_OF_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_Fault_tags,
sizeof(asn_DEF_Fault_tags)
/sizeof(asn_DEF_Fault_tags[0]), /* 1 */
asn_DEF_Fault_tags, /* Same as above */
sizeof(asn_DEF_Fault_tags)
/sizeof(asn_DEF_Fault_tags[0]), /* 1 */
asn_MBR_Fault,
asn_DEF_Fault_1_tags,
sizeof(asn_DEF_Fault_1_tags)
/sizeof(asn_DEF_Fault_1_tags[0]), /* 1 */
asn_DEF_Fault_1_tags, /* Same as above */
sizeof(asn_DEF_Fault_1_tags)
/sizeof(asn_DEF_Fault_1_tags[0]), /* 1 */
asn_MBR_Fault_1,
1, /* Single element */
&asn_DEF_Fault_specs /* Additional specs */
&asn_SPC_Fault_1_specs /* Additional specs */
};
......@@ -146,15 +146,15 @@ typedef struct Error {
/*** <<< STAT-DEFS [Error] >>> ***/
static ber_tlv_tag_t asn_DEF_Error_tags[] = {
static ber_tlv_tag_t asn_DEF_Error_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_Error_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_Error_1_tag2el[] = {
};
static asn_SEQUENCE_specifics_t asn_DEF_Error_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_Error_1_specs = {
sizeof(struct Error),
offsetof(struct Error, _asn_ctx),
asn_DEF_Error_tag2el,
asn_MAP_Error_1_tag2el,
0, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -170,13 +170,13 @@ asn_TYPE_descriptor_t asn_DEF_Error = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_Error_tags,
sizeof(asn_DEF_Error_tags)
/sizeof(asn_DEF_Error_tags[0]), /* 1 */
asn_DEF_Error_tags, /* Same as above */
sizeof(asn_DEF_Error_tags)
/sizeof(asn_DEF_Error_tags[0]), /* 1 */
asn_DEF_Error_1_tags,
sizeof(asn_DEF_Error_1_tags)
/sizeof(asn_DEF_Error_1_tags[0]), /* 1 */
asn_DEF_Error_1_tags, /* Same as above */
sizeof(asn_DEF_Error_1_tags)
/sizeof(asn_DEF_Error_1_tags[0]), /* 1 */
0, 0, /* No members */
&asn_DEF_Error_specs /* Additional specs */
&asn_SPC_Error_1_specs /* Additional specs */
};
......@@ -29,7 +29,7 @@ typedef struct T {
/*** <<< STAT-DEFS [T] >>> ***/
static asn_TYPE_member_t asn_MBR_collection[] = {
static asn_TYPE_member_t asn_MBR_collection_2[] = {
{ ATF_NOFLAGS, 0, 0,
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
......@@ -38,16 +38,16 @@ static asn_TYPE_member_t asn_MBR_collection[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_collection_tags[] = {
static ber_tlv_tag_t asn_DEF_collection_2_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_DEF_collection_specs = {
static asn_SET_OF_specifics_t asn_SPC_collection_2_specs = {
sizeof(struct collection),
offsetof(struct collection, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_collection = {
asn_TYPE_descriptor_t asn_DEF_collection_2 = {
"collection",
"collection",
SEQUENCE_OF_free,
......@@ -58,18 +58,18 @@ asn_TYPE_descriptor_t asn_DEF_collection = {
SEQUENCE_OF_decode_xer,
SEQUENCE_OF_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_collection_tags,
sizeof(asn_DEF_collection_tags)
/sizeof(asn_DEF_collection_tags[0]), /* 1 */
asn_DEF_collection_tags, /* Same as above */
sizeof(asn_DEF_collection_tags)
/sizeof(asn_DEF_collection_tags[0]), /* 1 */
asn_MBR_collection,
asn_DEF_collection_2_tags,
sizeof(asn_DEF_collection_2_tags)
/sizeof(asn_DEF_collection_2_tags[0]), /* 1 */
asn_DEF_collection_2_tags, /* Same as above */
sizeof(asn_DEF_collection_2_tags)
/sizeof(asn_DEF_collection_2_tags[0]), /* 1 */
asn_MBR_collection_2,
1, /* Single element */
&asn_DEF_collection_specs /* Additional specs */
&asn_SPC_collection_2_specs /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_T[] = {
static asn_TYPE_member_t asn_MBR_T_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T, Int),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -80,22 +80,22 @@ static asn_TYPE_member_t asn_MBR_T[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T, collection),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_collection,
.type = (void *)&asn_DEF_collection_2,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "collection"
},
};
static ber_tlv_tag_t asn_DEF_T_tags[] = {
static ber_tlv_tag_t asn_DEF_T_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* int at 15 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* collection at 17 */
};
static asn_SEQUENCE_specifics_t asn_DEF_T_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_T_1_specs = {
sizeof(struct T),
offsetof(struct T, _asn_ctx),
asn_DEF_T_tag2el,
asn_MAP_T_1_tag2el,
2, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -111,15 +111,15 @@ asn_TYPE_descriptor_t asn_DEF_T = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T_tags,
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]), /* 1 */
asn_DEF_T_tags, /* Same as above */
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]), /* 1 */
asn_MBR_T,
asn_DEF_T_1_tags,
sizeof(asn_DEF_T_1_tags)
/sizeof(asn_DEF_T_1_tags[0]), /* 1 */
asn_DEF_T_1_tags, /* Same as above */
sizeof(asn_DEF_T_1_tags)
/sizeof(asn_DEF_T_1_tags[0]), /* 1 */
asn_MBR_T_1,
2, /* Elements count */
&asn_DEF_T_specs /* Additional specs */
&asn_SPC_T_1_specs /* Additional specs */
};
......@@ -146,7 +146,7 @@ typedef struct T2 {
/*** <<< STAT-DEFS [T2] >>> ***/
static asn_TYPE_member_t asn_MBR_T2[] = {
static asn_TYPE_member_t asn_MBR_T2_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T2, flag),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
......@@ -162,17 +162,17 @@ static asn_TYPE_member_t asn_MBR_T2[] = {
.name = "str"
},
};
static ber_tlv_tag_t asn_DEF_T2_tags[] = {
static ber_tlv_tag_t asn_DEF_T2_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T2_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T2_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* flag at 20 */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 } /* str at 21 */
};
static asn_SEQUENCE_specifics_t asn_DEF_T2_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_T2_1_specs = {
sizeof(struct T2),
offsetof(struct T2, _asn_ctx),
asn_DEF_T2_tag2el,
asn_MAP_T2_1_tag2el,
2, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -188,14 +188,14 @@ asn_TYPE_descriptor_t asn_DEF_T2 = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T2_tags,
sizeof(asn_DEF_T2_tags)
/sizeof(asn_DEF_T2_tags[0]), /* 1 */
asn_DEF_T2_tags, /* Same as above */
sizeof(asn_DEF_T2_tags)
/sizeof(asn_DEF_T2_tags[0]), /* 1 */
asn_MBR_T2,
asn_DEF_T2_1_tags,
sizeof(asn_DEF_T2_1_tags)
/sizeof(asn_DEF_T2_1_tags[0]), /* 1 */
asn_DEF_T2_1_tags, /* Same as above */
sizeof(asn_DEF_T2_1_tags)
/sizeof(asn_DEF_T2_1_tags[0]), /* 1 */
asn_MBR_T2_1,
2, /* Elements count */
&asn_DEF_T2_specs /* Additional specs */
&asn_SPC_T2_1_specs /* Additional specs */
};
This diff is collapsed.
This diff is collapsed.
......@@ -68,7 +68,7 @@ typedef struct T {
/*** <<< STAT-DEFS [T] >>> ***/
static asn_TYPE_member_t asn_MBR_e[] = {
static asn_TYPE_member_t asn_MBR_e_3[] = {
{ ATF_NOFLAGS, 0, offsetof(struct e, choice.f),
.tag = (ASN_TAG_CLASS_PRIVATE | (7 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -84,21 +84,21 @@ static asn_TYPE_member_t asn_MBR_e[] = {
.name = "g"
},
};
static asn_TYPE_tag2member_t asn_DEF_e_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_e_3_tag2el[] = {
{ (ASN_TAG_CLASS_PRIVATE | (7 << 2)), 0, 0, 0 }, /* f at 20 */
{ (ASN_TAG_CLASS_PRIVATE | (8 << 2)), 1, 0, 0 } /* g at 21 */
};
static asn_CHOICE_specifics_t asn_DEF_e_specs = {
static asn_CHOICE_specifics_t asn_SPC_e_3_specs = {
sizeof(struct e),
offsetof(struct e, _asn_ctx),
offsetof(struct e, present),
sizeof(((struct e *)0)->present),
asn_DEF_e_tag2el,
asn_MAP_e_3_tag2el,
2, /* Count of tags in the map */
0 /* Whether extensible */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_e = {
asn_TYPE_descriptor_t asn_DEF_e_3 = {
"e",
"e",
CHOICE_free,
......@@ -113,12 +113,12 @@ asn_TYPE_descriptor_t asn_DEF_e = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
asn_MBR_e,
asn_MBR_e_3,
2, /* Elements count */
&asn_DEF_e_specs /* Additional specs */
&asn_SPC_e_3_specs /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_h[] = {
static asn_TYPE_member_t asn_MBR_h_4[] = {
{ ATF_NOFLAGS, 0, offsetof(struct h, choice.i),
.tag = (ASN_TAG_CLASS_PRIVATE | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -134,21 +134,21 @@ static asn_TYPE_member_t asn_MBR_h[] = {
.name = "j"
},
};
static asn_TYPE_tag2member_t asn_DEF_h_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_h_4_tag2el[] = {
{ (ASN_TAG_CLASS_PRIVATE | (1 << 2)), 0, 0, 0 }, /* i at 24 */
{ (ASN_TAG_CLASS_PRIVATE | (2 << 2)), 1, 0, 0 } /* j at 25 */
};
static asn_CHOICE_specifics_t asn_DEF_h_specs = {
static asn_CHOICE_specifics_t asn_SPC_h_4_specs = {
sizeof(struct h),
offsetof(struct h, _asn_ctx),
offsetof(struct h, present),
sizeof(((struct h *)0)->present),
asn_DEF_h_tag2el,
asn_MAP_h_4_tag2el,
2, /* Count of tags in the map */
0 /* Whether extensible */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_h = {
asn_TYPE_descriptor_t asn_DEF_h_4 = {
"h",
"h",
CHOICE_free,
......@@ -163,12 +163,12 @@ asn_TYPE_descriptor_t asn_DEF_h = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
asn_MBR_h,
asn_MBR_h_4,
2, /* Elements count */
&asn_DEF_h_specs /* Additional specs */
&asn_SPC_h_4_specs /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_b[] = {
static asn_TYPE_member_t asn_MBR_b_2[] = {
{ ATF_NOFLAGS, 0, offsetof(struct b, choice.c),
.tag = (ASN_TAG_CLASS_PRIVATE | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -186,36 +186,36 @@ static asn_TYPE_member_t asn_MBR_b[] = {
{ ATF_NOFLAGS, 0, offsetof(struct b, choice.e),
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_e,
.type = (void *)&asn_DEF_e_3,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "e"
},
{ ATF_NOFLAGS, 0, offsetof(struct b, choice.h),
.tag = (ASN_TAG_CLASS_PRIVATE | (9 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_h,
.type = (void *)&asn_DEF_h_4,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "h"
},
};
static asn_TYPE_tag2member_t asn_DEF_b_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_b_2_tag2el[] = {
{ (ASN_TAG_CLASS_PRIVATE | (5 << 2)), 0, 0, 0 }, /* c at 17 */
{ (ASN_TAG_CLASS_PRIVATE | (6 << 2)), 1, 0, 0 }, /* d at 18 */
{ (ASN_TAG_CLASS_PRIVATE | (7 << 2)), 2, 0, 0 }, /* f at 20 */
{ (ASN_TAG_CLASS_PRIVATE | (8 << 2)), 2, 0, 0 }, /* g at 21 */
{ (ASN_TAG_CLASS_PRIVATE | (9 << 2)), 3, 0, 0 } /* h at 24 */
};
static asn_CHOICE_specifics_t asn_DEF_b_specs = {
static asn_CHOICE_specifics_t asn_SPC_b_2_specs = {
sizeof(struct b),
offsetof(struct b, _asn_ctx),
offsetof(struct b, present),
sizeof(((struct b *)0)->present),
asn_DEF_b_tag2el,
asn_MAP_b_2_tag2el,
5, /* Count of tags in the map */
0 /* Whether extensible */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_b = {
asn_TYPE_descriptor_t asn_DEF_b_2 = {
"b",
"b",
CHOICE_free,
......@@ -230,12 +230,12 @@ asn_TYPE_descriptor_t asn_DEF_b = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
asn_MBR_b,
asn_MBR_b_2,
4, /* Elements count */
&asn_DEF_b_specs /* Additional specs */
&asn_SPC_b_2_specs /* Additional specs */
};
static asn_TYPE_member_t asn_MBR_T[] = {
static asn_TYPE_member_t asn_MBR_T_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T, a),
.tag = (ASN_TAG_CLASS_PRIVATE | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -246,16 +246,16 @@ static asn_TYPE_member_t asn_MBR_T[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T, b),
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_b,
.type = (void *)&asn_DEF_b_2,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_T_tags[] = {
static ber_tlv_tag_t asn_DEF_T_1_tags[] = {
(ASN_TAG_CLASS_PRIVATE | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T_1_tag2el[] = {
{ (ASN_TAG_CLASS_PRIVATE | (2 << 2)), 0, 0, 0 }, /* a at 15 */
{ (ASN_TAG_CLASS_PRIVATE | (5 << 2)), 1, 0, 0 }, /* c at 17 */
{ (ASN_TAG_CLASS_PRIVATE | (6 << 2)), 1, 0, 0 }, /* d at 18 */
......@@ -263,10 +263,10 @@ static asn_TYPE_tag2member_t asn_DEF_T_tag2el[] = {
{ (ASN_TAG_CLASS_PRIVATE | (8 << 2)), 1, 0, 0 }, /* g at 21 */
{ (ASN_TAG_CLASS_PRIVATE | (9 << 2)), 1, 0, 0 } /* h at 24 */
};
static asn_SEQUENCE_specifics_t asn_DEF_T_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_T_1_specs = {
sizeof(struct T),
offsetof(struct T, _asn_ctx),
asn_DEF_T_tag2el,
asn_MAP_T_1_tag2el,
6, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -282,14 +282,14 @@ asn_TYPE_descriptor_t asn_DEF_T = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T_tags,
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]) - 1, /* 1 */
asn_DEF_T_tags, /* Same as above */
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]), /* 2 */
asn_MBR_T,
asn_DEF_T_1_tags,
sizeof(asn_DEF_T_1_tags)
/sizeof(asn_DEF_T_1_tags[0]) - 1, /* 1 */
asn_DEF_T_1_tags, /* Same as above */
sizeof(asn_DEF_T_1_tags)
/sizeof(asn_DEF_T_1_tags[0]), /* 2 */
asn_MBR_T_1,
2, /* Elements count */
&asn_DEF_T_specs /* Additional specs */
&asn_SPC_T_1_specs /* Additional specs */
};
......@@ -39,7 +39,7 @@ typedef struct ConstructedType {
/*** <<< STAT-DEFS [ConstructedType] >>> ***/
static asn_TYPE_member_t asn_MBR_ConstructedType[] = {
static asn_TYPE_member_t asn_MBR_ConstructedType_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct ConstructedType, field),
.tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -48,16 +48,16 @@ static asn_TYPE_member_t asn_MBR_ConstructedType[] = {
.name = "field"
},
};
static ber_tlv_tag_t asn_DEF_ConstructedType_tags[] = {
static ber_tlv_tag_t asn_DEF_ConstructedType_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_ConstructedType_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_ConstructedType_1_tag2el[] = {
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 0, 0, 0 } /* field at 18 */
};
static asn_SEQUENCE_specifics_t asn_DEF_ConstructedType_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_ConstructedType_1_specs = {
sizeof(struct ConstructedType),
offsetof(struct ConstructedType, _asn_ctx),
asn_DEF_ConstructedType_tag2el,
asn_MAP_ConstructedType_1_tag2el,
1, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -73,15 +73,15 @@ asn_TYPE_descriptor_t asn_DEF_ConstructedType = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_ConstructedType_tags,
sizeof(asn_DEF_ConstructedType_tags)
/sizeof(asn_DEF_ConstructedType_tags[0]), /* 1 */
asn_DEF_ConstructedType_tags, /* Same as above */
sizeof(asn_DEF_ConstructedType_tags)
/sizeof(asn_DEF_ConstructedType_tags[0]), /* 1 */
asn_MBR_ConstructedType,
asn_DEF_ConstructedType_1_tags,
sizeof(asn_DEF_ConstructedType_1_tags)
/sizeof(asn_DEF_ConstructedType_1_tags[0]), /* 1 */
asn_DEF_ConstructedType_1_tags, /* Same as above */
sizeof(asn_DEF_ConstructedType_1_tags)
/sizeof(asn_DEF_ConstructedType_1_tags[0]), /* 1 */
asn_MBR_ConstructedType_1,
1, /* Elements count */
&asn_DEF_ConstructedType_specs /* Additional specs */
&asn_SPC_ConstructedType_1_specs /* Additional specs */
};
......@@ -120,7 +120,7 @@ T_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
* so here we adjust the DEF accordingly.
*/
static void
T_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
T_0_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
td->free_struct = asn_DEF_ConstructedType.free_struct;
td->print_struct = asn_DEF_ConstructedType.print_struct;
td->ber_decoder = asn_DEF_ConstructedType.ber_decoder;
......@@ -135,21 +135,21 @@ T_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td) {
void
T_free(asn_TYPE_descriptor_t *td,
void *struct_ptr, int contents_only) {
T_inherit_TYPE_descriptor(td);
T_0_inherit_TYPE_descriptor(td);
td->free_struct(td, struct_ptr, contents_only);
}
int
T_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
int ilevel, asn_app_consume_bytes_f *cb, void *app_key) {
T_inherit_TYPE_descriptor(td);
T_0_inherit_TYPE_descriptor(td);
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
}
asn_dec_rval_t
T_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, void *bufptr, size_t size, int tag_mode) {
T_inherit_TYPE_descriptor(td);
T_0_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
......@@ -157,14 +157,14 @@ asn_enc_rval_t
T_encode_der(asn_TYPE_descriptor_t *td,
void *structure, int tag_mode, ber_tlv_tag_t tag,
asn_app_consume_bytes_f *cb, void *app_key) {
T_inherit_TYPE_descriptor(td);
T_0_inherit_TYPE_descriptor(td);
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
}
asn_dec_rval_t
T_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
void **structure, const char *opt_mname, void *bufptr, size_t size) {
T_inherit_TYPE_descriptor(td);
T_0_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}
......@@ -172,14 +172,14 @@ asn_enc_rval_t
T_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
int ilevel, enum xer_encoder_flags_e flags,
asn_app_consume_bytes_f *cb, void *app_key) {
T_inherit_TYPE_descriptor(td);
T_0_inherit_TYPE_descriptor(td);
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
}
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_T_tags[] = {
static ber_tlv_tag_t asn_DEF_T_0_tags[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
......@@ -194,12 +194,12 @@ asn_TYPE_descriptor_t asn_DEF_T = {
T_decode_xer,
T_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T_tags,
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]) - 1, /* 1 */
asn_DEF_T_tags, /* Same as above */
sizeof(asn_DEF_T_tags)
/sizeof(asn_DEF_T_tags[0]), /* 2 */
asn_DEF_T_0_tags,
sizeof(asn_DEF_T_0_tags)
/sizeof(asn_DEF_T_0_tags[0]) - 1, /* 1 */
asn_DEF_T_0_tags, /* Same as above */
sizeof(asn_DEF_T_0_tags)
/sizeof(asn_DEF_T_0_tags[0]), /* 2 */
0, 0, /* Defined elsewhere */
0 /* No specifics */
};
......
......@@ -35,7 +35,7 @@ typedef struct T1 {
/*** <<< STAT-DEFS [T1] >>> ***/
static asn_TYPE_member_t asn_MBR_T1[] = {
static asn_TYPE_member_t asn_MBR_T1_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T1, i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -44,25 +44,25 @@ static asn_TYPE_member_t asn_MBR_T1[] = {
.name = "i"
},
};
static ber_tlv_tag_t asn_DEF_T1_tags[] = {
static ber_tlv_tag_t asn_DEF_T1_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T1_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T1_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i at 14 */
};
static uint8_t asn_DEF_T1_mmap[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static uint8_t asn_MAP_T1_1_mmap[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_DEF_T1_specs = {
static asn_SET_specifics_t asn_SPC_T1_1_specs = {
sizeof(struct T1),
offsetof(struct T1, _asn_ctx),
offsetof(struct T1, _presence_map),
asn_DEF_T1_tag2el,
asn_MAP_T1_1_tag2el,
1, /* Count of tags in the map */
asn_DEF_T1_tag2el, /* Same as above */
asn_MAP_T1_1_tag2el, /* Same as above */
1, /* Count of tags in the CXER map */
1, /* Whether extensible */
(unsigned int *)asn_DEF_T1_mmap /* Mandatory elements map */
(unsigned int *)asn_MAP_T1_1_mmap /* Mandatory elements map */
};
asn_TYPE_descriptor_t asn_DEF_T1 = {
"T1",
......@@ -75,15 +75,15 @@ asn_TYPE_descriptor_t asn_DEF_T1 = {
SET_decode_xer,
SET_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T1_tags,
sizeof(asn_DEF_T1_tags)
/sizeof(asn_DEF_T1_tags[0]), /* 1 */
asn_DEF_T1_tags, /* Same as above */
sizeof(asn_DEF_T1_tags)
/sizeof(asn_DEF_T1_tags[0]), /* 1 */
asn_MBR_T1,
asn_DEF_T1_1_tags,
sizeof(asn_DEF_T1_1_tags)
/sizeof(asn_DEF_T1_1_tags[0]), /* 1 */
asn_DEF_T1_1_tags, /* Same as above */
sizeof(asn_DEF_T1_1_tags)
/sizeof(asn_DEF_T1_1_tags[0]), /* 1 */
asn_MBR_T1_1,
1, /* Elements count */
&asn_DEF_T1_specs /* Additional specs */
&asn_SPC_T1_1_specs /* Additional specs */
};
......@@ -123,7 +123,7 @@ typedef struct T2 {
/*** <<< STAT-DEFS [T2] >>> ***/
static asn_TYPE_member_t asn_MBR_T2[] = {
static asn_TYPE_member_t asn_MBR_T2_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T2, i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -132,25 +132,25 @@ static asn_TYPE_member_t asn_MBR_T2[] = {
.name = "i"
},
};
static ber_tlv_tag_t asn_DEF_T2_tags[] = {
static ber_tlv_tag_t asn_DEF_T2_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T2_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T2_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i at 15 */
};
static uint8_t asn_DEF_T2_mmap[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static uint8_t asn_MAP_T2_1_mmap[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_DEF_T2_specs = {
static asn_SET_specifics_t asn_SPC_T2_1_specs = {
sizeof(struct T2),
offsetof(struct T2, _asn_ctx),
offsetof(struct T2, _presence_map),
asn_DEF_T2_tag2el,
asn_MAP_T2_1_tag2el,
1, /* Count of tags in the map */
asn_DEF_T2_tag2el, /* Same as above */
asn_MAP_T2_1_tag2el, /* Same as above */
1, /* Count of tags in the CXER map */
1, /* Whether extensible */
(unsigned int *)asn_DEF_T2_mmap /* Mandatory elements map */
(unsigned int *)asn_MAP_T2_1_mmap /* Mandatory elements map */
};
asn_TYPE_descriptor_t asn_DEF_T2 = {
"T2",
......@@ -163,15 +163,15 @@ asn_TYPE_descriptor_t asn_DEF_T2 = {
SET_decode_xer,
SET_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T2_tags,
sizeof(asn_DEF_T2_tags)
/sizeof(asn_DEF_T2_tags[0]), /* 1 */
asn_DEF_T2_tags, /* Same as above */
sizeof(asn_DEF_T2_tags)
/sizeof(asn_DEF_T2_tags[0]), /* 1 */
asn_MBR_T2,
asn_DEF_T2_1_tags,
sizeof(asn_DEF_T2_1_tags)
/sizeof(asn_DEF_T2_1_tags[0]), /* 1 */
asn_DEF_T2_1_tags, /* Same as above */
sizeof(asn_DEF_T2_1_tags)
/sizeof(asn_DEF_T2_1_tags[0]), /* 1 */
asn_MBR_T2_1,
1, /* Elements count */
&asn_DEF_T2_specs /* Additional specs */
&asn_SPC_T2_1_specs /* Additional specs */
};
......@@ -208,7 +208,7 @@ typedef struct T3 {
/*** <<< STAT-DEFS [T3] >>> ***/
static asn_TYPE_member_t asn_MBR_T3[] = {
static asn_TYPE_member_t asn_MBR_T3_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T3, choice.i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -217,15 +217,15 @@ static asn_TYPE_member_t asn_MBR_T3[] = {
.name = "i"
},
};
static asn_TYPE_tag2member_t asn_DEF_T3_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T3_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i at 16 */
};
static asn_CHOICE_specifics_t asn_DEF_T3_specs = {
static asn_CHOICE_specifics_t asn_SPC_T3_1_specs = {
sizeof(struct T3),
offsetof(struct T3, _asn_ctx),
offsetof(struct T3, present),
sizeof(((struct T3 *)0)->present),
asn_DEF_T3_tag2el,
asn_MAP_T3_1_tag2el,
1, /* Count of tags in the map */
1 /* Whether extensible */
};
......@@ -244,9 +244,9 @@ asn_TYPE_descriptor_t asn_DEF_T3 = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
asn_MBR_T3,
asn_MBR_T3_1,
1, /* Elements count */
&asn_DEF_T3_specs /* Additional specs */
&asn_SPC_T3_1_specs /* Additional specs */
};
......@@ -283,7 +283,7 @@ typedef struct T4 {
/*** <<< STAT-DEFS [T4] >>> ***/
static asn_TYPE_member_t asn_MBR_T4[] = {
static asn_TYPE_member_t asn_MBR_T4_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T4, choice.i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -292,15 +292,15 @@ static asn_TYPE_member_t asn_MBR_T4[] = {
.name = "i"
},
};
static asn_TYPE_tag2member_t asn_DEF_T4_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T4_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i at 17 */
};
static asn_CHOICE_specifics_t asn_DEF_T4_specs = {
static asn_CHOICE_specifics_t asn_SPC_T4_1_specs = {
sizeof(struct T4),
offsetof(struct T4, _asn_ctx),
offsetof(struct T4, present),
sizeof(((struct T4 *)0)->present),
asn_DEF_T4_tag2el,
asn_MAP_T4_1_tag2el,
1, /* Count of tags in the map */
1 /* Whether extensible */
};
......@@ -319,8 +319,8 @@ asn_TYPE_descriptor_t asn_DEF_T4 = {
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
asn_MBR_T4,
asn_MBR_T4_1,
1, /* Elements count */
&asn_DEF_T4_specs /* Additional specs */
&asn_SPC_T4_1_specs /* Additional specs */
};
This diff is collapsed.
......@@ -39,7 +39,7 @@ typedef struct Choice {
/*** <<< STAT-DEFS [Choice] >>> ***/
static asn_TYPE_member_t asn_MBR_Choice[] = {
static asn_TYPE_member_t asn_MBR_Choice_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Choice, choice.a),
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
......@@ -62,20 +62,20 @@ static asn_TYPE_member_t asn_MBR_Choice[] = {
.name = "c"
},
};
static ber_tlv_tag_t asn_DEF_Choice_tags[] = {
static ber_tlv_tag_t asn_DEF_Choice_1_tags[] = {
(ASN_TAG_CLASS_CONTEXT | (123 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_Choice_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_Choice_1_tag2el[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a at 15 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b at 17 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c at 19 */
};
static asn_CHOICE_specifics_t asn_DEF_Choice_specs = {
static asn_CHOICE_specifics_t asn_SPC_Choice_1_specs = {
sizeof(struct Choice),
offsetof(struct Choice, _asn_ctx),
offsetof(struct Choice, present),
sizeof(((struct Choice *)0)->present),
asn_DEF_Choice_tag2el,
asn_MAP_Choice_1_tag2el,
3, /* Count of tags in the map */
1 /* Whether extensible */
};
......@@ -90,14 +90,14 @@ asn_TYPE_descriptor_t asn_DEF_Choice = {
CHOICE_decode_xer,
CHOICE_encode_xer,
CHOICE_outmost_tag,
asn_DEF_Choice_tags,
sizeof(asn_DEF_Choice_tags)
/sizeof(asn_DEF_Choice_tags[0]), /* 1 */
asn_DEF_Choice_tags, /* Same as above */
sizeof(asn_DEF_Choice_tags)
/sizeof(asn_DEF_Choice_tags[0]), /* 1 */
asn_MBR_Choice,
asn_DEF_Choice_1_tags,
sizeof(asn_DEF_Choice_1_tags)
/sizeof(asn_DEF_Choice_1_tags[0]), /* 1 */
asn_DEF_Choice_1_tags, /* Same as above */
sizeof(asn_DEF_Choice_1_tags)
/sizeof(asn_DEF_Choice_1_tags[0]), /* 1 */
asn_MBR_Choice_1,
3, /* Elements count */
&asn_DEF_Choice_specs /* Additional specs */
&asn_SPC_Choice_1_specs /* Additional specs */
};
......@@ -22,7 +22,7 @@ typedef struct T1 {
/*** <<< STAT-DEFS [T1] >>> ***/
static asn_TYPE_member_t asn_MBR_T1[] = {
static asn_TYPE_member_t asn_MBR_T1_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T1, i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -38,16 +38,16 @@ static asn_TYPE_member_t asn_MBR_T1[] = {
.name = "any"
},
};
static ber_tlv_tag_t asn_DEF_T1_tags[] = {
static ber_tlv_tag_t asn_DEF_T1_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T1_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T1_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i at 15 */
};
static asn_SEQUENCE_specifics_t asn_DEF_T1_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_T1_1_specs = {
sizeof(struct T1),
offsetof(struct T1, _asn_ctx),
asn_DEF_T1_tag2el,
asn_MAP_T1_1_tag2el,
1, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -63,15 +63,15 @@ asn_TYPE_descriptor_t asn_DEF_T1 = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T1_tags,
sizeof(asn_DEF_T1_tags)
/sizeof(asn_DEF_T1_tags[0]), /* 1 */
asn_DEF_T1_tags, /* Same as above */
sizeof(asn_DEF_T1_tags)
/sizeof(asn_DEF_T1_tags[0]), /* 1 */
asn_MBR_T1,
asn_DEF_T1_1_tags,
sizeof(asn_DEF_T1_1_tags)
/sizeof(asn_DEF_T1_1_tags[0]), /* 1 */
asn_DEF_T1_1_tags, /* Same as above */
sizeof(asn_DEF_T1_1_tags)
/sizeof(asn_DEF_T1_1_tags[0]), /* 1 */
asn_MBR_T1_1,
2, /* Elements count */
&asn_DEF_T1_specs /* Additional specs */
&asn_SPC_T1_1_specs /* Additional specs */
};
......@@ -98,7 +98,7 @@ typedef struct T2 {
/*** <<< STAT-DEFS [T2] >>> ***/
static asn_TYPE_member_t asn_MBR_T2[] = {
static asn_TYPE_member_t asn_MBR_T2_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct T2, i),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
......@@ -114,17 +114,17 @@ static asn_TYPE_member_t asn_MBR_T2[] = {
.name = "any"
},
};
static ber_tlv_tag_t asn_DEF_T2_tags[] = {
static ber_tlv_tag_t asn_DEF_T2_1_tags[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_DEF_T2_tag2el[] = {
static asn_TYPE_tag2member_t asn_MAP_T2_1_tag2el[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* i at 20 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* any at 21 */
};
static asn_SEQUENCE_specifics_t asn_DEF_T2_specs = {
static asn_SEQUENCE_specifics_t asn_SPC_T2_1_specs = {
sizeof(struct T2),
offsetof(struct T2, _asn_ctx),
asn_DEF_T2_tag2el,
asn_MAP_T2_1_tag2el,
2, /* Count of tags in the map */
-1, /* Start extensions */
-1 /* Stop extensions */
......@@ -140,14 +140,14 @@ asn_TYPE_descriptor_t asn_DEF_T2 = {
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, /* Use generic outmost tag fetcher */
asn_DEF_T2_tags,
sizeof(asn_DEF_T2_tags)
/sizeof(asn_DEF_T2_tags[0]), /* 1 */
asn_DEF_T2_tags, /* Same as above */
sizeof(asn_DEF_T2_tags)
/sizeof(asn_DEF_T2_tags[0]), /* 1 */
asn_MBR_T2,
asn_DEF_T2_1_tags,
sizeof(asn_DEF_T2_1_tags)
/sizeof(asn_DEF_T2_1_tags[0]), /* 1 */
asn_DEF_T2_1_tags, /* Same as above */
sizeof(asn_DEF_T2_1_tags)
/sizeof(asn_DEF_T2_1_tags[0]), /* 1 */
asn_MBR_T2_1,
2, /* Elements count */
&asn_DEF_T2_specs /* Additional specs */
&asn_SPC_T2_1_specs /* Additional specs */
};
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment