remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / SubscriberState.c
blobe6b52afa2c8eba6f6fc332444ad0f490d85ddf6b
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 "SubscriberState.h"
10 static asn_per_constraints_t asn_PER_type_SubscriberState_constr_1 = {
11 { APC_CONSTRAINED, 2, 2, 0, 3 } /* (0..3) */,
12 { APC_UNCONSTRAINED, -1, -1, 0, 0 },
13 0, 0 /* No PER value map */
15 static asn_TYPE_member_t asn_MBR_SubscriberState_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct SubscriberState, choice.assumedIdle),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_NULL,
20 0, /* Defer constraints checking to the member type */
21 0, /* No PER visible constraints */
23 "assumedIdle"
25 { ATF_NOFLAGS, 0, offsetof(struct SubscriberState, choice.camelBusy),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_NULL,
29 0, /* Defer constraints checking to the member type */
30 0, /* No PER visible constraints */
32 "camelBusy"
34 { ATF_NOFLAGS, 0, offsetof(struct SubscriberState, choice.netDetNotReachable),
35 (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
37 &asn_DEF_NotReachableReason,
38 0, /* Defer constraints checking to the member type */
39 0, /* No PER visible constraints */
41 "netDetNotReachable"
43 { ATF_NOFLAGS, 0, offsetof(struct SubscriberState, choice.notProvidedFromVLR),
44 (ASN_TAG_CLASS_CONTEXT | (2 << 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 "notProvidedFromVLR"
53 static int asn_MAP_SubscriberState_cmap_1[] = { 2, 0, 1, 3 };
54 static asn_TYPE_tag2member_t asn_MAP_SubscriberState_tag2el_1[] = {
55 { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 }, /* netDetNotReachable at 2706 */
56 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* assumedIdle at 2704 */
57 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* camelBusy at 2705 */
58 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 3, 0, 0 } /* notProvidedFromVLR at 2707 */
60 static asn_CHOICE_specifics_t asn_SPC_SubscriberState_specs_1 = {
61 sizeof(struct SubscriberState),
62 offsetof(struct SubscriberState, _asn_ctx),
63 offsetof(struct SubscriberState, present),
64 sizeof(((struct SubscriberState *)0)->present),
65 asn_MAP_SubscriberState_tag2el_1,
66 4, /* Count of tags in the map */
67 asn_MAP_SubscriberState_cmap_1, /* Canonically sorted */
68 -1 /* Extensions start */
70 asn_TYPE_descriptor_t asn_DEF_SubscriberState = {
71 "SubscriberState",
72 "SubscriberState",
73 CHOICE_free,
74 CHOICE_print,
75 CHOICE_constraint,
76 CHOICE_decode_ber,
77 CHOICE_encode_der,
78 CHOICE_decode_xer,
79 CHOICE_encode_xer,
80 CHOICE_decode_uper,
81 CHOICE_encode_uper,
82 CHOICE_outmost_tag,
83 0, /* No effective tags (pointer) */
84 0, /* No effective tags (count) */
85 0, /* No tags (pointer) */
86 0, /* No tags (count) */
87 &asn_PER_type_SubscriberState_constr_1,
88 asn_MBR_SubscriberState_1,
89 4, /* Elements count */
90 &asn_SPC_SubscriberState_specs_1 /* Additional specs */