remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / LocationInformation.c
blobd2c59b74376174a80105ea09abb9f2956f61d0e1
1 /*
2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "MAP-MS-DataTypes"
4 * found in "../asn1src/MAP-MS-DataTypes.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
6 */
8 #include "LocationInformation.h"
10 static asn_TYPE_member_t asn_MBR_LocationInformation_1[] = {
11 { ATF_POINTER, 13, offsetof(struct LocationInformation, ageOfLocationInformation),
12 (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
14 &asn_DEF_AgeOfLocationInformation,
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
18 "ageOfLocationInformation"
20 { ATF_POINTER, 12, offsetof(struct LocationInformation, geographicalInformation),
21 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_GeographicalInformation,
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
27 "geographicalInformation"
29 { ATF_POINTER, 11, offsetof(struct LocationInformation, vlr_number),
30 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_ISDN_AddressString,
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
36 "vlr-number"
38 { ATF_POINTER, 10, offsetof(struct LocationInformation, locationNumber),
39 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_LocationNumber,
42 0, /* Defer constraints checking to the member type */
43 0, /* No PER visible constraints */
45 "locationNumber"
47 { ATF_POINTER, 9, offsetof(struct LocationInformation, cellGlobalIdOrServiceAreaIdOrLAI),
48 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
49 +1, /* EXPLICIT tag at current level */
50 &asn_DEF_CellGlobalIdOrServiceAreaIdOrLAI,
51 0, /* Defer constraints checking to the member type */
52 0, /* No PER visible constraints */
54 "cellGlobalIdOrServiceAreaIdOrLAI"
56 { ATF_POINTER, 8, offsetof(struct LocationInformation, extensionContainer),
57 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
58 -1, /* IMPLICIT tag at current level */
59 &asn_DEF_ExtensionContainer,
60 0, /* Defer constraints checking to the member type */
61 0, /* No PER visible constraints */
63 "extensionContainer"
65 { ATF_POINTER, 7, offsetof(struct LocationInformation, selectedLSA_Id),
66 (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
67 -1, /* IMPLICIT tag at current level */
68 &asn_DEF_LSAIdentity,
69 0, /* Defer constraints checking to the member type */
70 0, /* No PER visible constraints */
72 "selectedLSA-Id"
74 { ATF_POINTER, 6, offsetof(struct LocationInformation, msc_Number),
75 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
76 -1, /* IMPLICIT tag at current level */
77 &asn_DEF_ISDN_AddressString,
78 0, /* Defer constraints checking to the member type */
79 0, /* No PER visible constraints */
81 "msc-Number"
83 { ATF_POINTER, 5, offsetof(struct LocationInformation, geodeticInformation),
84 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
85 -1, /* IMPLICIT tag at current level */
86 &asn_DEF_GeodeticInformation,
87 0, /* Defer constraints checking to the member type */
88 0, /* No PER visible constraints */
90 "geodeticInformation"
92 { ATF_POINTER, 4, offsetof(struct LocationInformation, currentLocationRetrieved),
93 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
94 -1, /* IMPLICIT tag at current level */
95 &asn_DEF_NULL,
96 0, /* Defer constraints checking to the member type */
97 0, /* No PER visible constraints */
99 "currentLocationRetrieved"
101 { ATF_POINTER, 3, offsetof(struct LocationInformation, sai_Present),
102 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
103 -1, /* IMPLICIT tag at current level */
104 &asn_DEF_NULL,
105 0, /* Defer constraints checking to the member type */
106 0, /* No PER visible constraints */
108 "sai-Present"
110 { ATF_POINTER, 2, offsetof(struct LocationInformation, locationInformationEPS),
111 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
112 -1, /* IMPLICIT tag at current level */
113 &asn_DEF_LocationInformationEPS,
114 0, /* Defer constraints checking to the member type */
115 0, /* No PER visible constraints */
117 "locationInformationEPS"
119 { ATF_POINTER, 1, offsetof(struct LocationInformation, userCSGInformation),
120 (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
121 -1, /* IMPLICIT tag at current level */
122 &asn_DEF_UserCSGInformation,
123 0, /* Defer constraints checking to the member type */
124 0, /* No PER visible constraints */
126 "userCSGInformation"
129 static int asn_MAP_LocationInformation_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 };
130 static ber_tlv_tag_t asn_DEF_LocationInformation_tags_1[] = {
131 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
133 static asn_TYPE_tag2member_t asn_MAP_LocationInformation_tag2el_1[] = {
134 { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* ageOfLocationInformation at 2608 */
135 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* geographicalInformation at 2609 */
136 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* vlr-number at 2610 */
137 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 3, 0, 0 }, /* locationNumber at 2611 */
138 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 4, 0, 0 }, /* cellGlobalIdOrServiceAreaIdOrLAI at 2612 */
139 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 5, 0, 0 }, /* extensionContainer at 2613 */
140 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 6, 0, 0 }, /* selectedLSA-Id at 2615 */
141 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 7, 0, 0 }, /* msc-Number at 2616 */
142 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 8, 0, 0 }, /* geodeticInformation at 2617 */
143 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 9, 0, 0 }, /* currentLocationRetrieved at 2618 */
144 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 10, 0, 0 }, /* sai-Present at 2619 */
145 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 11, 0, 0 }, /* locationInformationEPS at 2620 */
146 { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 12, 0, 0 } /* userCSGInformation at 2621 */
148 static asn_SEQUENCE_specifics_t asn_SPC_LocationInformation_specs_1 = {
149 sizeof(struct LocationInformation),
150 offsetof(struct LocationInformation, _asn_ctx),
151 asn_MAP_LocationInformation_tag2el_1,
152 13, /* Count of tags in the map */
153 asn_MAP_LocationInformation_oms_1, /* Optional members */
154 6, 7, /* Root/Additions */
155 5, /* Start extensions */
156 14 /* Stop extensions */
158 asn_TYPE_descriptor_t asn_DEF_LocationInformation = {
159 "LocationInformation",
160 "LocationInformation",
161 SEQUENCE_free,
162 SEQUENCE_print,
163 SEQUENCE_constraint,
164 SEQUENCE_decode_ber,
165 SEQUENCE_encode_der,
166 SEQUENCE_decode_xer,
167 SEQUENCE_encode_xer,
168 SEQUENCE_decode_uper,
169 SEQUENCE_encode_uper,
170 0, /* Use generic outmost tag fetcher */
171 asn_DEF_LocationInformation_tags_1,
172 sizeof(asn_DEF_LocationInformation_tags_1)
173 /sizeof(asn_DEF_LocationInformation_tags_1[0]), /* 1 */
174 asn_DEF_LocationInformation_tags_1, /* Same as above */
175 sizeof(asn_DEF_LocationInformation_tags_1)
176 /sizeof(asn_DEF_LocationInformation_tags_1[0]), /* 1 */
177 0, /* No PER visible constraints */
178 asn_MBR_LocationInformation_1,
179 13, /* Elements count */
180 &asn_SPC_LocationInformation_specs_1 /* Additional specs */