asn1c/tests/65-multi-tag-OK.asn1.-Pfwid...

535 lines
13 KiB
Plaintext
Raw Normal View History

2004-09-10 15:49:15 +00:00
/*** <<< INCLUDES [T1] >>> ***/
2006-09-13 02:51:20 +00:00
#include "T2.h"
2004-09-10 15:49:15 +00:00
/*** <<< TYPE-DECLS [T1] >>> ***/
typedef T2_t T1_t;
/*** <<< FUNC-DECLS [T1] >>> ***/
2004-09-29 13:19:37 +00:00
extern asn_TYPE_descriptor_t asn_DEF_T1;
2004-09-22 16:06:28 +00:00
asn_struct_free_f T1_free;
asn_struct_print_f T1_print;
2004-09-10 15:49:15 +00:00
asn_constr_check_f T1_constraint;
ber_type_decoder_f T1_decode_ber;
der_type_encoder_f T1_encode_der;
2004-10-23 13:26:56 +00:00
xer_type_decoder_f T1_decode_xer;
2004-09-22 16:06:28 +00:00
xer_type_encoder_f T1_encode_xer;
2004-09-10 15:49:15 +00:00
/*** <<< CODE [T1] >>> ***/
/*
* This type is implemented using T2,
2004-09-23 22:14:58 +00:00
* so here we adjust the DEF accordingly.
2004-09-10 15:49:15 +00:00
*/
/*** <<< STAT-DEFS [T1] >>> ***/
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
2004-09-10 15:49:15 +00:00
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T1_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
2004-09-14 12:46:58 +00:00
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
2004-09-29 13:19:37 +00:00
asn_TYPE_descriptor_t asn_DEF_T1 = {
2004-10-20 15:50:55 +00:00
"T1",
2004-09-10 15:49:15 +00:00
"T1",
REAL_free,
REAL_print,
REAL_constraint,
REAL_decode_ber,
REAL_encode_der,
REAL_decode_xer,
REAL_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
2004-09-10 15:49:15 +00:00
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_T1_tags_1,
sizeof(asn_DEF_T1_tags_1)
/sizeof(asn_DEF_T1_tags_1[0]), /* 4 */
asn_DEF_T1_all_tags_1,
sizeof(asn_DEF_T1_all_tags_1)
/sizeof(asn_DEF_T1_all_tags_1[0]), /* 6 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
2004-09-10 15:49:15 +00:00
0, 0, /* No members */
0 /* No specifics */
};
/*** <<< INCLUDES [T2] >>> ***/
2006-09-13 02:51:20 +00:00
#include "T3.h"
2004-09-10 15:49:15 +00:00
/*** <<< TYPE-DECLS [T2] >>> ***/
typedef T3_t T2_t;
/*** <<< FUNC-DECLS [T2] >>> ***/
2004-09-29 13:19:37 +00:00
extern asn_TYPE_descriptor_t asn_DEF_T2;
2004-09-22 16:06:28 +00:00
asn_struct_free_f T2_free;
asn_struct_print_f T2_print;
2004-09-10 15:49:15 +00:00
asn_constr_check_f T2_constraint;
ber_type_decoder_f T2_decode_ber;
der_type_encoder_f T2_encode_der;
2004-10-23 13:26:56 +00:00
xer_type_decoder_f T2_decode_xer;
2004-09-22 16:06:28 +00:00
xer_type_encoder_f T2_encode_xer;
2004-09-10 15:49:15 +00:00
/*** <<< CODE [T2] >>> ***/
/*
* This type is implemented using T3,
2004-09-23 22:14:58 +00:00
* so here we adjust the DEF accordingly.
2004-09-10 15:49:15 +00:00
*/
/*** <<< STAT-DEFS [T2] >>> ***/
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
2004-09-10 15:49:15 +00:00
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T2_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
2004-09-14 12:46:58 +00:00
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
2004-09-29 13:19:37 +00:00
asn_TYPE_descriptor_t asn_DEF_T2 = {
2004-10-20 15:50:55 +00:00
"T2",
2004-09-10 15:49:15 +00:00
"T2",
REAL_free,
REAL_print,
REAL_constraint,
REAL_decode_ber,
REAL_encode_der,
REAL_decode_xer,
REAL_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
2004-09-10 15:49:15 +00:00
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_T2_tags_1,
sizeof(asn_DEF_T2_tags_1)
/sizeof(asn_DEF_T2_tags_1[0]), /* 3 */
asn_DEF_T2_all_tags_1,
sizeof(asn_DEF_T2_all_tags_1)
/sizeof(asn_DEF_T2_all_tags_1[0]), /* 5 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
2004-09-10 15:49:15 +00:00
0, 0, /* No members */
0 /* No specifics */
};
/*** <<< INCLUDES [T3] >>> ***/
2006-09-13 02:51:20 +00:00
#include "T4.h"
2004-09-10 15:49:15 +00:00
/*** <<< TYPE-DECLS [T3] >>> ***/
typedef T4_t T3_t;
/*** <<< FUNC-DECLS [T3] >>> ***/
2004-09-29 13:19:37 +00:00
extern asn_TYPE_descriptor_t asn_DEF_T3;
2004-09-22 16:06:28 +00:00
asn_struct_free_f T3_free;
asn_struct_print_f T3_print;
2004-09-10 15:49:15 +00:00
asn_constr_check_f T3_constraint;
ber_type_decoder_f T3_decode_ber;
der_type_encoder_f T3_encode_der;
2004-10-23 13:26:56 +00:00
xer_type_decoder_f T3_decode_xer;
2004-09-22 16:06:28 +00:00
xer_type_encoder_f T3_encode_xer;
2004-09-10 15:49:15 +00:00
/*** <<< CODE [T3] >>> ***/
/*
* This type is implemented using T4,
2004-09-23 22:14:58 +00:00
* so here we adjust the DEF accordingly.
2004-09-10 15:49:15 +00:00
*/
/*** <<< STAT-DEFS [T3] >>> ***/
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T3_tags_1[] = {
2004-09-10 15:49:15 +00:00
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T3_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
2004-09-14 12:46:58 +00:00
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
2004-09-29 13:19:37 +00:00
asn_TYPE_descriptor_t asn_DEF_T3 = {
2004-10-20 15:50:55 +00:00
"T3",
2004-09-10 15:49:15 +00:00
"T3",
REAL_free,
REAL_print,
REAL_constraint,
REAL_decode_ber,
REAL_encode_der,
REAL_decode_xer,
REAL_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
2004-09-10 15:49:15 +00:00
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_T3_tags_1,
sizeof(asn_DEF_T3_tags_1)
/sizeof(asn_DEF_T3_tags_1[0]), /* 2 */
asn_DEF_T3_all_tags_1,
sizeof(asn_DEF_T3_all_tags_1)
/sizeof(asn_DEF_T3_all_tags_1[0]), /* 4 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
2004-09-10 15:49:15 +00:00
0, 0, /* No members */
0 /* No specifics */
};
/*** <<< INCLUDES [T4] >>> ***/
2006-09-13 02:51:20 +00:00
#include "T5.h"
2004-09-10 15:49:15 +00:00
/*** <<< TYPE-DECLS [T4] >>> ***/
typedef T5_t T4_t;
/*** <<< FUNC-DECLS [T4] >>> ***/
2004-09-29 13:19:37 +00:00
extern asn_TYPE_descriptor_t asn_DEF_T4;
2004-09-22 16:06:28 +00:00
asn_struct_free_f T4_free;
asn_struct_print_f T4_print;
2004-09-10 15:49:15 +00:00
asn_constr_check_f T4_constraint;
ber_type_decoder_f T4_decode_ber;
der_type_encoder_f T4_encode_der;
2004-10-23 13:26:56 +00:00
xer_type_decoder_f T4_decode_xer;
2004-09-22 16:06:28 +00:00
xer_type_encoder_f T4_encode_xer;
2004-09-10 15:49:15 +00:00
/*** <<< CODE [T4] >>> ***/
/*
* This type is implemented using T5,
2004-09-23 22:14:58 +00:00
* so here we adjust the DEF accordingly.
2004-09-10 15:49:15 +00:00
*/
/*** <<< STAT-DEFS [T4] >>> ***/
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T4_tags_1[] = {
2004-09-10 15:49:15 +00:00
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
2004-09-14 12:46:58 +00:00
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
2004-09-10 15:49:15 +00:00
};
2004-09-29 13:19:37 +00:00
asn_TYPE_descriptor_t asn_DEF_T4 = {
2004-10-20 15:50:55 +00:00
"T4",
2004-09-10 15:49:15 +00:00
"T4",
REAL_free,
REAL_print,
REAL_constraint,
REAL_decode_ber,
REAL_encode_der,
REAL_decode_xer,
REAL_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
2004-09-10 15:49:15 +00:00
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_T4_tags_1,
sizeof(asn_DEF_T4_tags_1)
/sizeof(asn_DEF_T4_tags_1[0]) - 1, /* 2 */
asn_DEF_T4_tags_1, /* Same as above */
sizeof(asn_DEF_T4_tags_1)
/sizeof(asn_DEF_T4_tags_1[0]), /* 3 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
2004-09-10 15:49:15 +00:00
0, 0, /* No members */
0 /* No specifics */
};
/*** <<< INCLUDES [T5] >>> ***/
2006-09-13 02:51:20 +00:00
#include "T6.h"
2004-09-10 15:49:15 +00:00
/*** <<< TYPE-DECLS [T5] >>> ***/
typedef T6_t T5_t;
/*** <<< FUNC-DECLS [T5] >>> ***/
2004-09-29 13:19:37 +00:00
extern asn_TYPE_descriptor_t asn_DEF_T5;
2004-09-22 16:06:28 +00:00
asn_struct_free_f T5_free;
asn_struct_print_f T5_print;
2004-09-10 15:49:15 +00:00
asn_constr_check_f T5_constraint;
ber_type_decoder_f T5_decode_ber;
der_type_encoder_f T5_encode_der;
2004-10-23 13:26:56 +00:00
xer_type_decoder_f T5_decode_xer;
2004-09-22 16:06:28 +00:00
xer_type_encoder_f T5_encode_xer;
2004-09-10 15:49:15 +00:00
/*** <<< CODE [T5] >>> ***/
/*
* This type is implemented using T6,
2004-09-23 22:14:58 +00:00
* so here we adjust the DEF accordingly.
2004-09-10 15:49:15 +00:00
*/
/*** <<< STAT-DEFS [T5] >>> ***/
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T5_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
2004-09-14 12:46:58 +00:00
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
2004-09-10 15:49:15 +00:00
};
2004-09-29 13:19:37 +00:00
asn_TYPE_descriptor_t asn_DEF_T5 = {
2004-10-20 15:50:55 +00:00
"T5",
2004-09-10 15:49:15 +00:00
"T5",
REAL_free,
REAL_print,
REAL_constraint,
REAL_decode_ber,
REAL_encode_der,
REAL_decode_xer,
REAL_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
2004-09-10 15:49:15 +00:00
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_T5_tags_1,
sizeof(asn_DEF_T5_tags_1)
/sizeof(asn_DEF_T5_tags_1[0]) - 1, /* 1 */
asn_DEF_T5_tags_1, /* Same as above */
sizeof(asn_DEF_T5_tags_1)
/sizeof(asn_DEF_T5_tags_1[0]), /* 2 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
2004-09-10 15:49:15 +00:00
0, 0, /* No members */
0 /* No specifics */
};
/*** <<< INCLUDES [T6] >>> ***/
2004-09-14 12:46:58 +00:00
#include <REAL.h>
2004-09-10 15:49:15 +00:00
/*** <<< TYPE-DECLS [T6] >>> ***/
2004-09-14 12:46:58 +00:00
typedef REAL_t T6_t;
2004-09-10 15:49:15 +00:00
/*** <<< FUNC-DECLS [T6] >>> ***/
extern asn_TYPE_descriptor_t asn_DEF_T6;
asn_struct_free_f T6_free;
asn_struct_print_f T6_print;
asn_constr_check_f T6_constraint;
ber_type_decoder_f T6_decode_ber;
der_type_encoder_f T6_encode_der;
xer_type_decoder_f T6_decode_xer;
xer_type_encoder_f T6_encode_xer;
2004-09-10 15:49:15 +00:00
/*** <<< CODE [T6] >>> ***/
/*
* This type is implemented using REAL,
* so here we adjust the DEF accordingly.
*/
/*** <<< STAT-DEFS [T6] >>> ***/
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T6_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
asn_TYPE_descriptor_t asn_DEF_T6 = {
"T6",
"T6",
REAL_free,
REAL_print,
REAL_constraint,
REAL_decode_ber,
REAL_encode_der,
REAL_decode_xer,
REAL_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_T6_tags_1,
sizeof(asn_DEF_T6_tags_1)
/sizeof(asn_DEF_T6_tags_1[0]), /* 1 */
asn_DEF_T6_tags_1, /* Same as above */
sizeof(asn_DEF_T6_tags_1)
/sizeof(asn_DEF_T6_tags_1[0]), /* 1 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
0, 0, /* No members */
0 /* No specifics */
};
2004-09-10 15:49:15 +00:00
/*** <<< INCLUDES [T] >>> ***/
2006-09-13 02:51:20 +00:00
#include "Ts.h"
2004-09-10 15:49:15 +00:00
/*** <<< TYPE-DECLS [T] >>> ***/
typedef Ts_t T_t;
/*** <<< FUNC-DECLS [T] >>> ***/
2004-09-29 13:19:37 +00:00
extern asn_TYPE_descriptor_t asn_DEF_T;
2004-09-22 16:06:28 +00:00
asn_struct_free_f T_free;
asn_struct_print_f T_print;
2004-09-10 15:49:15 +00:00
asn_constr_check_f T_constraint;
ber_type_decoder_f T_decode_ber;
der_type_encoder_f T_encode_der;
2004-10-23 13:26:56 +00:00
xer_type_decoder_f T_decode_xer;
2004-09-22 16:06:28 +00:00
xer_type_encoder_f T_encode_xer;
2004-09-10 15:49:15 +00:00
/*** <<< CODE [T] >>> ***/
/*
* This type is implemented using Ts,
2004-09-23 22:14:58 +00:00
* so here we adjust the DEF accordingly.
2004-09-10 15:49:15 +00:00
*/
/*** <<< STAT-DEFS [T] >>> ***/
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_CONTEXT | (123 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
2004-09-10 15:49:15 +00:00
};
2004-09-29 13:19:37 +00:00
asn_TYPE_descriptor_t asn_DEF_T = {
2004-10-20 15:50:55 +00:00
"T",
2004-09-10 15:49:15 +00:00
"T",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
2004-09-10 15:49:15 +00:00
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_T_tags_1,
sizeof(asn_DEF_T_tags_1)
/sizeof(asn_DEF_T_tags_1[0]) - 2, /* 1 */
asn_DEF_T_tags_1, /* Same as above */
sizeof(asn_DEF_T_tags_1)
/sizeof(asn_DEF_T_tags_1[0]), /* 3 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
asn_MBR_Ts_1,
3, /* Elements count */
&asn_SPC_Ts_specs_1 /* Additional specs */
2004-09-10 15:49:15 +00:00
};
/*** <<< INCLUDES [Ts] >>> ***/
2006-09-13 02:51:20 +00:00
#include "T2.h"
#include "T3.h"
2004-09-10 15:49:15 +00:00
#include <constr_SEQUENCE.h>
/*** <<< TYPE-DECLS [Ts] >>> ***/
typedef struct Ts {
T2_t m1;
T3_t *m2 /* OPTIONAL */;
T3_t m3;
/* Context for parsing across buffer boundaries */
2004-09-29 13:19:37 +00:00
asn_struct_ctx_t _asn_ctx;
2004-09-10 15:49:15 +00:00
} Ts_t;
/*** <<< FUNC-DECLS [Ts] >>> ***/
extern asn_TYPE_descriptor_t asn_DEF_Ts;
extern asn_SEQUENCE_specifics_t asn_SPC_Ts_specs_1;
extern asn_TYPE_member_t asn_MBR_Ts_1[3];
2004-09-10 15:49:15 +00:00
/*** <<< STAT-DEFS [Ts] >>> ***/
asn_TYPE_member_t asn_MBR_Ts_1[] = {
2004-09-10 15:49:15 +00:00
{ ATF_NOFLAGS, 0, offsetof(struct Ts, m1),
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_T2,
2005-01-17 12:20:19 +00:00
.memb_constraints = 0, /* Defer constraints checking to the member type */
2017-07-14 10:59:52 +00:00
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
2005-11-26 11:25:14 +00:00
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
.default_value = 0,
2004-09-10 15:49:15 +00:00
.name = "m1"
},
{ ATF_POINTER, 1, offsetof(struct Ts, m2),
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_T3,
2005-01-17 12:20:19 +00:00
.memb_constraints = 0, /* Defer constraints checking to the member type */
2017-07-14 10:59:52 +00:00
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
2005-11-26 11:25:14 +00:00
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
.default_value = 0,
2004-09-10 15:49:15 +00:00
.name = "m2"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ts, m3),
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_T3,
2005-01-17 12:20:19 +00:00
.memb_constraints = 0, /* Defer constraints checking to the member type */
2017-07-14 10:59:52 +00:00
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
2005-11-26 11:25:14 +00:00
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
.default_value = 0,
2004-09-10 15:49:15 +00:00
.name = "m3"
},
};
2014-10-13 01:37:35 +00:00
static const ber_tlv_tag_t asn_DEF_Ts_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (123 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
2004-09-10 15:49:15 +00:00
};
2014-10-13 01:37:35 +00:00
static const asn_TYPE_tag2member_t asn_MAP_Ts_tag2el_1[] = {
2013-10-11 21:29:38 +00:00
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* m1 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* m2 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 } /* m3 */
2004-09-10 15:49:15 +00:00
};
asn_SEQUENCE_specifics_t asn_SPC_Ts_specs_1 = {
2004-09-10 15:49:15 +00:00
sizeof(struct Ts),
2004-09-29 13:19:37 +00:00
offsetof(struct Ts, _asn_ctx),
2005-11-26 11:25:14 +00:00
asn_MAP_Ts_tag2el_1,
2004-09-10 15:49:15 +00:00
3, /* Count of tags in the map */
2005-11-26 11:25:14 +00:00
0, 0, 0, /* Optional elements (not needed) */
2004-09-10 15:49:15 +00:00
-1, /* Start extensions */
-1 /* Stop extensions */
};
2004-09-29 13:19:37 +00:00
asn_TYPE_descriptor_t asn_DEF_Ts = {
2004-10-20 15:50:55 +00:00
"Ts",
2004-09-10 15:49:15 +00:00
"Ts",
2004-09-22 16:06:28 +00:00
SEQUENCE_free,
SEQUENCE_print,
2004-09-10 15:49:15 +00:00
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
2004-10-23 15:07:45 +00:00
SEQUENCE_decode_xer,
2004-09-22 16:06:28 +00:00
SEQUENCE_encode_xer,
2017-07-06 14:52:39 +00:00
0, 0, /* No OER support, use "-gen-OER" to enable */
2017-07-14 10:59:52 +00:00
0, 0, /* No PER support, use "-gen-PER" to enable */
2004-09-10 15:49:15 +00:00
0, /* Use generic outmost tag fetcher */
2005-11-26 11:25:14 +00:00
asn_DEF_Ts_tags_1,
sizeof(asn_DEF_Ts_tags_1)
/sizeof(asn_DEF_Ts_tags_1[0]) - 1, /* 1 */
asn_DEF_Ts_tags_1, /* Same as above */
sizeof(asn_DEF_Ts_tags_1)
/sizeof(asn_DEF_Ts_tags_1[0]), /* 2 */
2017-07-14 10:59:52 +00:00
0, /* No OER visible constraints */
2005-11-26 11:25:14 +00:00
0, /* No PER visible constraints */
2005-03-04 11:26:08 +00:00
asn_MBR_Ts_1,
2004-09-10 15:49:15 +00:00
3, /* Elements count */
2005-11-26 11:25:14 +00:00
&asn_SPC_Ts_specs_1 /* Additional specs */
2004-09-10 15:49:15 +00:00
};