remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / Additional-Number.c
blob343869f31c201d21306083dc794b538fea45d7bb
1 /*
2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "MAP-SM-DataTypes"
4 * found in "../asn1src/MAP-SM-DataTypes.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
6 */
8 #include "Additional-Number.h"
10 static asn_per_constraints_t asn_PER_type_Additional_Number_constr_1 = {
11 { APC_CONSTRAINED, 1, 1, 0, 1 } /* (0..1) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
15 static asn_TYPE_member_t asn_MBR_Additional_Number_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct Additional_Number, choice.msc_Number),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_ISDN_AddressString,
20 0, /* Defer constraints checking to the member type */
21 0, /* No PER visible constraints */
23 "msc-Number"
25 { ATF_NOFLAGS, 0, offsetof(struct Additional_Number, choice.sgsn_Number),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_ISDN_AddressString,
29 0, /* Defer constraints checking to the member type */
30 0, /* No PER visible constraints */
32 "sgsn-Number"
35 static asn_TYPE_tag2member_t asn_MAP_Additional_Number_tag2el_1[] = {
36 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* msc-Number at 111 */
37 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* sgsn-Number at 112 */
39 static asn_CHOICE_specifics_t asn_SPC_Additional_Number_specs_1 = {
40 sizeof(struct Additional_Number),
41 offsetof(struct Additional_Number, _asn_ctx),
42 offsetof(struct Additional_Number, present),
43 sizeof(((struct Additional_Number *)0)->present),
44 asn_MAP_Additional_Number_tag2el_1,
45 2, /* Count of tags in the map */
47 -1 /* Extensions start */
49 asn_TYPE_descriptor_t asn_DEF_Additional_Number = {
50 "Additional-Number",
51 "Additional-Number",
52 CHOICE_free,
53 CHOICE_print,
54 CHOICE_constraint,
55 CHOICE_decode_ber,
56 CHOICE_encode_der,
57 CHOICE_decode_xer,
58 CHOICE_encode_xer,
59 CHOICE_decode_uper,
60 CHOICE_encode_uper,
61 CHOICE_outmost_tag,
62 0, /* No effective tags (pointer) */
63 0, /* No effective tags (count) */
64 0, /* No tags (pointer) */
65 0, /* No tags (count) */
66 &asn_PER_type_Additional_Number_constr_1,
67 asn_MBR_Additional_Number_1,
68 2, /* Elements count */
69 &asn_SPC_Additional_Number_specs_1 /* Additional specs */