RICPLT-2981 SubFail go asn into use
[ric-plt/submgr.git] / 3rdparty / libe2ap / SubframeAllocation.c
1 /*
2  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
3  * From ASN.1 module "X2AP-IEs"
4  *      found in "Spec/e2_and_x2-combined-and-minimized.asn1"
5  *      `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
6  */
7
8 #include "SubframeAllocation.h"
9
10 asn_per_constraints_t asn_PER_type_SubframeAllocation_constr_1 CC_NOTUSED = {
11         { APC_CONSTRAINED | APC_EXTENSIBLE,  1,  1,  0,  1 }    /* (0..1,...) */,
12         { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
13         0, 0    /* No PER value map */
14 };
15 asn_TYPE_member_t asn_MBR_SubframeAllocation_1[] = {
16         { ATF_NOFLAGS, 0, offsetof(struct SubframeAllocation, choice.oneframe),
17                 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18                 -1,     /* IMPLICIT tag at current level */
19                 &asn_DEF_Oneframe,
20                 0,
21                 { 0, 0, 0 },
22                 0, 0, /* No default value */
23                 "oneframe"
24                 },
25         { ATF_NOFLAGS, 0, offsetof(struct SubframeAllocation, choice.fourframes),
26                 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27                 -1,     /* IMPLICIT tag at current level */
28                 &asn_DEF_Fourframes,
29                 0,
30                 { 0, 0, 0 },
31                 0, 0, /* No default value */
32                 "fourframes"
33                 },
34 };
35 static const asn_TYPE_tag2member_t asn_MAP_SubframeAllocation_tag2el_1[] = {
36     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* oneframe */
37     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* fourframes */
38 };
39 asn_CHOICE_specifics_t asn_SPC_SubframeAllocation_specs_1 = {
40         sizeof(struct SubframeAllocation),
41         offsetof(struct SubframeAllocation, _asn_ctx),
42         offsetof(struct SubframeAllocation, present),
43         sizeof(((struct SubframeAllocation *)0)->present),
44         asn_MAP_SubframeAllocation_tag2el_1,
45         2,      /* Count of tags in the map */
46         0, 0,
47         2       /* Extensions start */
48 };
49 asn_TYPE_descriptor_t asn_DEF_SubframeAllocation = {
50         "SubframeAllocation",
51         "SubframeAllocation",
52         &asn_OP_CHOICE,
53         0,      /* No effective tags (pointer) */
54         0,      /* No effective tags (count) */
55         0,      /* No tags (pointer) */
56         0,      /* No tags (count) */
57         { 0, &asn_PER_type_SubframeAllocation_constr_1, CHOICE_constraint },
58         asn_MBR_SubframeAllocation_1,
59         2,      /* Elements count */
60         &asn_SPC_SubframeAllocation_specs_1     /* Additional specs */
61 };
62