2 /*** <<< INCLUDES [T] >>> ***/
5 #include <asn_SEQUENCE_OF.h>
6 #include <constr_SEQUENCE_OF.h>
7 #include <constr_SEQUENCE.h>
9 /*** <<< FWD-DECLS [T] >>> ***/
13 /*** <<< TYPE-DECLS [T] >>> ***/
18 A_SEQUENCE_OF(struct T2) list;
20 /* Context for parsing across buffer boundaries */
21 asn_struct_ctx_t _asn_ctx;
24 /* Context for parsing across buffer boundaries */
25 asn_struct_ctx_t _asn_ctx;
28 /*** <<< FUNC-DECLS [T] >>> ***/
30 extern asn_TYPE_descriptor_t asn_DEF_T;
32 /*** <<< POST-INCLUDE [T] >>> ***/
36 /*** <<< STAT-DEFS [T] >>> ***/
38 static asn_TYPE_member_t asn_MBR_collection_3[] = {
40 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
44 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
45 0, 0, /* No default value */
49 static const ber_tlv_tag_t asn_DEF_collection_tags_3[] = {
50 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
52 static asn_SET_OF_specifics_t asn_SPC_collection_specs_3 = {
53 sizeof(struct collection),
54 offsetof(struct collection, _asn_ctx),
55 0, /* XER encoding is XMLDelimitedItemList */
57 static /* Use -fall-defs-global to expose */
58 asn_TYPE_descriptor_t asn_DEF_collection_3 = {
62 asn_DEF_collection_tags_3,
63 sizeof(asn_DEF_collection_tags_3)
64 /sizeof(asn_DEF_collection_tags_3[0]), /* 1 */
65 asn_DEF_collection_tags_3, /* Same as above */
66 sizeof(asn_DEF_collection_tags_3)
67 /sizeof(asn_DEF_collection_tags_3[0]), /* 1 */
68 { 0, 0, SEQUENCE_OF_constraint },
70 1, /* Single element */
71 &asn_SPC_collection_specs_3 /* Additional specs */
74 static asn_TYPE_member_t asn_MBR_T_1[] = {
75 { ATF_NOFLAGS, 0, offsetof(struct T, Int),
76 .tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
78 .type = &asn_DEF_INTEGER,
80 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
81 0, 0, /* No default value */
84 { ATF_NOFLAGS, 0, offsetof(struct T, collection),
85 .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
87 .type = &asn_DEF_collection_3,
89 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
90 0, 0, /* No default value */
94 static const ber_tlv_tag_t asn_DEF_T_tags_1[] = {
95 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
97 static const asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
98 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* int */
99 { (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* collection */
101 static asn_SEQUENCE_specifics_t asn_SPC_T_specs_1 = {
103 offsetof(struct T, _asn_ctx),
104 .tag2el = asn_MAP_T_tag2el_1,
105 .tag2el_count = 2, /* Count of tags in the map */
106 0, 0, 0, /* Optional elements (not needed) */
107 -1, /* First extension addition */
109 asn_TYPE_descriptor_t asn_DEF_T = {
114 sizeof(asn_DEF_T_tags_1)
115 /sizeof(asn_DEF_T_tags_1[0]), /* 1 */
116 asn_DEF_T_tags_1, /* Same as above */
117 sizeof(asn_DEF_T_tags_1)
118 /sizeof(asn_DEF_T_tags_1[0]), /* 1 */
119 { 0, 0, SEQUENCE_constraint },
121 2, /* Elements count */
122 &asn_SPC_T_specs_1 /* Additional specs */
126 /*** <<< INCLUDES [T2] >>> ***/
129 #include <UTF8String.h>
130 #include <constr_SEQUENCE.h>
132 /*** <<< TYPE-DECLS [T2] >>> ***/
138 /* Context for parsing across buffer boundaries */
139 asn_struct_ctx_t _asn_ctx;
142 /*** <<< FUNC-DECLS [T2] >>> ***/
144 extern asn_TYPE_descriptor_t asn_DEF_T2;
145 extern asn_SEQUENCE_specifics_t asn_SPC_T2_specs_1;
146 extern asn_TYPE_member_t asn_MBR_T2_1[2];
148 /*** <<< STAT-DEFS [T2] >>> ***/
150 asn_TYPE_member_t asn_MBR_T2_1[] = {
151 { ATF_NOFLAGS, 0, offsetof(struct T2, flag),
152 .tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
154 .type = &asn_DEF_BOOLEAN,
156 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
157 0, 0, /* No default value */
160 { ATF_NOFLAGS, 0, offsetof(struct T2, str),
161 .tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
163 .type = &asn_DEF_UTF8String,
165 { .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
166 0, 0, /* No default value */
170 static const ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
171 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
173 static const asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
174 { (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* flag */
175 { (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 } /* str */
177 asn_SEQUENCE_specifics_t asn_SPC_T2_specs_1 = {
179 offsetof(struct T2, _asn_ctx),
180 .tag2el = asn_MAP_T2_tag2el_1,
181 .tag2el_count = 2, /* Count of tags in the map */
182 0, 0, 0, /* Optional elements (not needed) */
183 -1, /* First extension addition */
185 asn_TYPE_descriptor_t asn_DEF_T2 = {
190 sizeof(asn_DEF_T2_tags_1)
191 /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */
192 asn_DEF_T2_tags_1, /* Same as above */
193 sizeof(asn_DEF_T2_tags_1)
194 /sizeof(asn_DEF_T2_tags_1[0]), /* 1 */
195 { 0, 0, SEQUENCE_constraint },
197 2, /* Elements count */
198 &asn_SPC_T2_specs_1 /* Additional specs */