remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / RRLP-Component.c
blob8c448bcd10320d0cf78e654b46fecb105a6010fc
1 /*
2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "RRLP-Messages"
4 * found in "../asn1src/RRLP-Messages.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
6 */
8 #include "RRLP-Component.h"
10 static asn_per_constraints_t asn_PER_type_RRLP_Component_constr_1 = {
11 { APC_CONSTRAINED | APC_EXTENSIBLE, 3, 3, 0, 4 } /* (0..4,...) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
15 static asn_TYPE_member_t asn_MBR_RRLP_Component_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct RRLP_Component, choice.msrPositionReq),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_MsrPosition_Req,
20 0, /* Defer constraints checking to the member type */
21 0, /* No PER visible constraints */
23 "msrPositionReq"
25 { ATF_NOFLAGS, 0, offsetof(struct RRLP_Component, choice.msrPositionRsp),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_MsrPosition_Rsp,
29 0, /* Defer constraints checking to the member type */
30 0, /* No PER visible constraints */
32 "msrPositionRsp"
34 { ATF_NOFLAGS, 0, offsetof(struct RRLP_Component, choice.assistanceData),
35 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
36 -1, /* IMPLICIT tag at current level */
37 &asn_DEF_AssistanceData,
38 0, /* Defer constraints checking to the member type */
39 0, /* No PER visible constraints */
41 "assistanceData"
43 { ATF_NOFLAGS, 0, offsetof(struct RRLP_Component, choice.assistanceDataAck),
44 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
45 -1, /* IMPLICIT tag at current level */
46 &asn_DEF_NULL,
47 0, /* Defer constraints checking to the member type */
48 0, /* No PER visible constraints */
50 "assistanceDataAck"
52 { ATF_NOFLAGS, 0, offsetof(struct RRLP_Component, choice.protocolError),
53 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
54 -1, /* IMPLICIT tag at current level */
55 &asn_DEF_ProtocolError,
56 0, /* Defer constraints checking to the member type */
57 0, /* No PER visible constraints */
59 "protocolError"
61 { ATF_NOFLAGS, 0, offsetof(struct RRLP_Component, choice.posCapabilityReq),
62 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
63 -1, /* IMPLICIT tag at current level */
64 &asn_DEF_PosCapability_Req,
65 0, /* Defer constraints checking to the member type */
66 0, /* No PER visible constraints */
68 "posCapabilityReq"
70 { ATF_NOFLAGS, 0, offsetof(struct RRLP_Component, choice.posCapabilityRsp),
71 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
72 -1, /* IMPLICIT tag at current level */
73 &asn_DEF_PosCapability_Rsp,
74 0, /* Defer constraints checking to the member type */
75 0, /* No PER visible constraints */
77 "posCapabilityRsp"
80 static asn_TYPE_tag2member_t asn_MAP_RRLP_Component_tag2el_1[] = {
81 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* msrPositionReq at 21 */
82 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* msrPositionRsp at 22 */
83 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* assistanceData at 23 */
84 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* assistanceDataAck at 24 */
85 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* protocolError at 25 */
86 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* posCapabilityReq at 27 */
87 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* posCapabilityRsp at 29 */
89 static asn_CHOICE_specifics_t asn_SPC_RRLP_Component_specs_1 = {
90 sizeof(struct RRLP_Component),
91 offsetof(struct RRLP_Component, _asn_ctx),
92 offsetof(struct RRLP_Component, present),
93 sizeof(((struct RRLP_Component *)0)->present),
94 asn_MAP_RRLP_Component_tag2el_1,
95 7, /* Count of tags in the map */
97 5 /* Extensions start */
99 asn_TYPE_descriptor_t asn_DEF_RRLP_Component = {
100 "RRLP-Component",
101 "RRLP-Component",
102 CHOICE_free,
103 CHOICE_print,
104 CHOICE_constraint,
105 CHOICE_decode_ber,
106 CHOICE_encode_der,
107 CHOICE_decode_xer,
108 CHOICE_encode_xer,
109 CHOICE_decode_uper,
110 CHOICE_encode_uper,
111 CHOICE_outmost_tag,
112 0, /* No effective tags (pointer) */
113 0, /* No effective tags (count) */
114 0, /* No tags (pointer) */
115 0, /* No tags (count) */
116 &asn_PER_type_RRLP_Component_constr_1,
117 asn_MBR_RRLP_Component_1,
118 7, /* Elements count */
119 &asn_SPC_RRLP_Component_specs_1 /* Additional specs */