Updated documentation for mock a1 tool
[ric-app/admin.git] / asn1c_defs / X2N_CellAssistanceInformation.c
1 /*
2  * Generated by asn1c-0.9.29 n1 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-PDU-Contents"
4  *      found in "../../asn_defs/asn1/x2ap-15-04.asn"
5  *      `asn1c -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-OER`
6  */
7
8 #include "X2N_CellAssistanceInformation.h"
9
10 #include "X2N_Limited-list.h"
11 /*
12  * This type is implemented using NativeEnumerated,
13  * so here we adjust the DEF accordingly.
14  */
15 static asn_per_constraints_t asn_PER_type_X2N_full_list_constr_3 CC_NOTUSED = {
16         { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
17         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
18         0, 0    /* No PER value map */
19 };
20 static asn_per_constraints_t asn_PER_type_X2N_CellAssistanceInformation_constr_1 CC_NOTUSED = {
21         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
22         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
23         0, 0    /* No PER value map */
24 };
25 static const asn_INTEGER_enum_map_t asn_MAP_X2N_full_list_value2enum_3[] = {
26         { 0,    16,     "allServedNRcells" }
27         /* This list is extensible */
28 };
29 static const unsigned int asn_MAP_X2N_full_list_enum2value_3[] = {
30         0       /* allServedNRcells(0) */
31         /* This list is extensible */
32 };
33 static const asn_INTEGER_specifics_t asn_SPC_X2N_full_list_specs_3 = {
34         asn_MAP_X2N_full_list_value2enum_3,     /* "tag" => N; sorted by tag */
35         asn_MAP_X2N_full_list_enum2value_3,     /* N => "tag"; sorted by N */
36         1,      /* Number of elements in the maps */
37         2,      /* Extensions before this member */
38         1,      /* Strict enumeration */
39         0,      /* Native long size */
40         0
41 };
42 static const ber_tlv_tag_t asn_DEF_X2N_full_list_tags_3[] = {
43         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
44         (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
45 };
46 static /* Use -fall-defs-global to expose */
47 asn_TYPE_descriptor_t asn_DEF_X2N_full_list_3 = {
48         "full-list",
49         "full-list",
50         &asn_OP_NativeEnumerated,
51         asn_DEF_X2N_full_list_tags_3,
52         sizeof(asn_DEF_X2N_full_list_tags_3)
53                 /sizeof(asn_DEF_X2N_full_list_tags_3[0]) - 1, /* 1 */
54         asn_DEF_X2N_full_list_tags_3,   /* Same as above */
55         sizeof(asn_DEF_X2N_full_list_tags_3)
56                 /sizeof(asn_DEF_X2N_full_list_tags_3[0]), /* 2 */
57         { 0, &asn_PER_type_X2N_full_list_constr_3, NativeEnumerated_constraint },
58         0, 0,   /* Defined elsewhere */
59         &asn_SPC_X2N_full_list_specs_3  /* Additional specs */
60 };
61
62 static asn_TYPE_member_t asn_MBR_X2N_CellAssistanceInformation_1[] = {
63         { ATF_POINTER, 0, offsetof(struct X2N_CellAssistanceInformation, choice.limited_list),
64                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
65                 -1,     /* IMPLICIT tag at current level */
66                 &asn_DEF_X2N_Limited_list,
67                 0,
68                 { 0, 0, 0 },
69                 0, 0, /* No default value */
70                 "limited-list"
71                 },
72         { ATF_NOFLAGS, 0, offsetof(struct X2N_CellAssistanceInformation, choice.full_list),
73                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
74                 -1,     /* IMPLICIT tag at current level */
75                 &asn_DEF_X2N_full_list_3,
76                 0,
77                 { 0, 0, 0 },
78                 0, 0, /* No default value */
79                 "full-list"
80                 },
81 };
82 static const asn_TYPE_tag2member_t asn_MAP_X2N_CellAssistanceInformation_tag2el_1[] = {
83     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* limited-list */
84     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* full-list */
85 };
86 static asn_CHOICE_specifics_t asn_SPC_X2N_CellAssistanceInformation_specs_1 = {
87         sizeof(struct X2N_CellAssistanceInformation),
88         offsetof(struct X2N_CellAssistanceInformation, _asn_ctx),
89         offsetof(struct X2N_CellAssistanceInformation, present),
90         sizeof(((struct X2N_CellAssistanceInformation *)0)->present),
91         asn_MAP_X2N_CellAssistanceInformation_tag2el_1,
92         2,      /* Count of tags in the map */
93         0, 0,
94         2       /* Extensions start */
95 };
96 asn_TYPE_descriptor_t asn_DEF_X2N_CellAssistanceInformation = {
97         "CellAssistanceInformation",
98         "CellAssistanceInformation",
99         &asn_OP_CHOICE,
100         0,      /* No effective tags (pointer) */
101         0,      /* No effective tags (count) */
102         0,      /* No tags (pointer) */
103         0,      /* No tags (count) */
104         { 0, &asn_PER_type_X2N_CellAssistanceInformation_constr_1, CHOICE_constraint },
105         asn_MBR_X2N_CellAssistanceInformation_1,
106         2,      /* Elements count */
107         &asn_SPC_X2N_CellAssistanceInformation_specs_1  /* Additional specs */
108 };
109