remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / LocationInformationGPRS.c
blob2ab66bfdc9b67ed668004bde2ec8ab3b0cd903b2
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 "LocationInformationGPRS.h"
10 static asn_TYPE_member_t asn_MBR_LocationInformationGPRS_1[] = {
11 { ATF_POINTER, 11, offsetof(struct LocationInformationGPRS, cellGlobalIdOrServiceAreaIdOrLAI),
12 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
13 +1, /* EXPLICIT tag at current level */
14 &asn_DEF_CellGlobalIdOrServiceAreaIdOrLAI,
15 0, /* Defer constraints checking to the member type */
16 0, /* No PER visible constraints */
18 "cellGlobalIdOrServiceAreaIdOrLAI"
20 { ATF_POINTER, 10, offsetof(struct LocationInformationGPRS, routeingAreaIdentity),
21 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
22 -1, /* IMPLICIT tag at current level */
23 &asn_DEF_RAIdentity,
24 0, /* Defer constraints checking to the member type */
25 0, /* No PER visible constraints */
27 "routeingAreaIdentity"
29 { ATF_POINTER, 9, offsetof(struct LocationInformationGPRS, geographicalInformation),
30 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
31 -1, /* IMPLICIT tag at current level */
32 &asn_DEF_GeographicalInformation,
33 0, /* Defer constraints checking to the member type */
34 0, /* No PER visible constraints */
36 "geographicalInformation"
38 { ATF_POINTER, 8, offsetof(struct LocationInformationGPRS, sgsn_Number),
39 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
40 -1, /* IMPLICIT tag at current level */
41 &asn_DEF_ISDN_AddressString,
42 0, /* Defer constraints checking to the member type */
43 0, /* No PER visible constraints */
45 "sgsn-Number"
47 { ATF_POINTER, 7, offsetof(struct LocationInformationGPRS, selectedLSAIdentity),
48 (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
49 -1, /* IMPLICIT tag at current level */
50 &asn_DEF_LSAIdentity,
51 0, /* Defer constraints checking to the member type */
52 0, /* No PER visible constraints */
54 "selectedLSAIdentity"
56 { ATF_POINTER, 6, offsetof(struct LocationInformationGPRS, extensionContainer),
57 (ASN_TAG_CLASS_CONTEXT | (5 << 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, 5, offsetof(struct LocationInformationGPRS, sai_Present),
66 (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
67 -1, /* IMPLICIT tag at current level */
68 &asn_DEF_NULL,
69 0, /* Defer constraints checking to the member type */
70 0, /* No PER visible constraints */
72 "sai-Present"
74 { ATF_POINTER, 4, offsetof(struct LocationInformationGPRS, geodeticInformation),
75 (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
76 -1, /* IMPLICIT tag at current level */
77 &asn_DEF_GeodeticInformation,
78 0, /* Defer constraints checking to the member type */
79 0, /* No PER visible constraints */
81 "geodeticInformation"
83 { ATF_POINTER, 3, offsetof(struct LocationInformationGPRS, currentLocationRetrieved),
84 (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
85 -1, /* IMPLICIT tag at current level */
86 &asn_DEF_NULL,
87 0, /* Defer constraints checking to the member type */
88 0, /* No PER visible constraints */
90 "currentLocationRetrieved"
92 { ATF_POINTER, 2, offsetof(struct LocationInformationGPRS, ageOfLocationInformation),
93 (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
94 -1, /* IMPLICIT tag at current level */
95 &asn_DEF_AgeOfLocationInformation,
96 0, /* Defer constraints checking to the member type */
97 0, /* No PER visible constraints */
99 "ageOfLocationInformation"
101 { ATF_POINTER, 1, offsetof(struct LocationInformationGPRS, userCSGInformation),
102 (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
103 -1, /* IMPLICIT tag at current level */
104 &asn_DEF_UserCSGInformation,
105 0, /* Defer constraints checking to the member type */
106 0, /* No PER visible constraints */
108 "userCSGInformation"
111 static int asn_MAP_LocationInformationGPRS_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
112 static ber_tlv_tag_t asn_DEF_LocationInformationGPRS_tags_1[] = {
113 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
115 static asn_TYPE_tag2member_t asn_MAP_LocationInformationGPRS_tag2el_1[] = {
116 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* cellGlobalIdOrServiceAreaIdOrLAI at 2650 */
117 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* routeingAreaIdentity at 2651 */
118 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* geographicalInformation at 2652 */
119 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* sgsn-Number at 2653 */
120 { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* selectedLSAIdentity at 2654 */
121 { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* extensionContainer at 2655 */
122 { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* sai-Present at 2657 */
123 { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* geodeticInformation at 2658 */
124 { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* currentLocationRetrieved at 2659 */
125 { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* ageOfLocationInformation at 2660 */
126 { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 } /* userCSGInformation at 2661 */
128 static asn_SEQUENCE_specifics_t asn_SPC_LocationInformationGPRS_specs_1 = {
129 sizeof(struct LocationInformationGPRS),
130 offsetof(struct LocationInformationGPRS, _asn_ctx),
131 asn_MAP_LocationInformationGPRS_tag2el_1,
132 11, /* Count of tags in the map */
133 asn_MAP_LocationInformationGPRS_oms_1, /* Optional members */
134 6, 5, /* Root/Additions */
135 5, /* Start extensions */
136 12 /* Stop extensions */
138 asn_TYPE_descriptor_t asn_DEF_LocationInformationGPRS = {
139 "LocationInformationGPRS",
140 "LocationInformationGPRS",
141 SEQUENCE_free,
142 SEQUENCE_print,
143 SEQUENCE_constraint,
144 SEQUENCE_decode_ber,
145 SEQUENCE_encode_der,
146 SEQUENCE_decode_xer,
147 SEQUENCE_encode_xer,
148 SEQUENCE_decode_uper,
149 SEQUENCE_encode_uper,
150 0, /* Use generic outmost tag fetcher */
151 asn_DEF_LocationInformationGPRS_tags_1,
152 sizeof(asn_DEF_LocationInformationGPRS_tags_1)
153 /sizeof(asn_DEF_LocationInformationGPRS_tags_1[0]), /* 1 */
154 asn_DEF_LocationInformationGPRS_tags_1, /* Same as above */
155 sizeof(asn_DEF_LocationInformationGPRS_tags_1)
156 /sizeof(asn_DEF_LocationInformationGPRS_tags_1[0]), /* 1 */
157 0, /* No PER visible constraints */
158 asn_MBR_LocationInformationGPRS_1,
159 11, /* Elements count */
160 &asn_SPC_LocationInformationGPRS_specs_1 /* Additional specs */