Removed additional license from ASN1c gen files; added support for responses to subsc...
[sim/e2-interface.git] / e2sim / e2apv1sim / ASN1c / GlobalgNB-ID.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "E2SM-KPM-IEs"
4  *      found in "/home/rshacham/e2sm_kpm_approved.asn"
5  *      `asn1c -fcompound-names`
6  */
7
8 #include "GlobalgNB-ID.h"
9
10 asn_TYPE_member_t asn_MBR_GlobalgNB_ID_1[] = {
11         { ATF_NOFLAGS, 0, offsetof(struct GlobalgNB_ID, plmn_id),
12                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13                 -1,     /* IMPLICIT tag at current level */
14                 &asn_DEF_PLMN_Identity,
15                 0,
16                 { 0, 0, 0 },
17                 0, 0, /* No default value */
18                 "plmn-id"
19                 },
20         { ATF_NOFLAGS, 0, offsetof(struct GlobalgNB_ID, gnb_id),
21                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22                 +1,     /* EXPLICIT tag at current level */
23                 &asn_DEF_GNB_ID_Choice,
24                 0,
25                 { 0, 0, 0 },
26                 0, 0, /* No default value */
27                 "gnb-id"
28                 },
29 };
30 static const ber_tlv_tag_t asn_DEF_GlobalgNB_ID_tags_1[] = {
31         (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
32 };
33 static const asn_TYPE_tag2member_t asn_MAP_GlobalgNB_ID_tag2el_1[] = {
34     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* plmn-id */
35     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* gnb-id */
36 };
37 asn_SEQUENCE_specifics_t asn_SPC_GlobalgNB_ID_specs_1 = {
38         sizeof(struct GlobalgNB_ID),
39         offsetof(struct GlobalgNB_ID, _asn_ctx),
40         asn_MAP_GlobalgNB_ID_tag2el_1,
41         2,      /* Count of tags in the map */
42         0, 0, 0,        /* Optional elements (not needed) */
43         2,      /* First extension addition */
44 };
45 asn_TYPE_descriptor_t asn_DEF_GlobalgNB_ID = {
46         "GlobalgNB-ID",
47         "GlobalgNB-ID",
48         &asn_OP_SEQUENCE,
49         asn_DEF_GlobalgNB_ID_tags_1,
50         sizeof(asn_DEF_GlobalgNB_ID_tags_1)
51                 /sizeof(asn_DEF_GlobalgNB_ID_tags_1[0]), /* 1 */
52         asn_DEF_GlobalgNB_ID_tags_1,    /* Same as above */
53         sizeof(asn_DEF_GlobalgNB_ID_tags_1)
54                 /sizeof(asn_DEF_GlobalgNB_ID_tags_1[0]), /* 1 */
55         { 0, 0, SEQUENCE_constraint },
56         asn_MBR_GlobalgNB_ID_1,
57         2,      /* Elements count */
58         &asn_SPC_GlobalgNB_ID_specs_1   /* Additional specs */
59 };
60