2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "MAP-CommonDataTypes"
4 * found in "../asn1src/MAP-CommonDataTypes.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
8 #include "BasicServiceCode.h"
10 static asn_per_constraints_t asn_PER_type_BasicServiceCode_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_BasicServiceCode_1
[] = {
16 { ATF_NOFLAGS
, 0, offsetof(struct BasicServiceCode
, choice
.bearerService
),
17 (ASN_TAG_CLASS_CONTEXT
| (2 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_BearerServiceCode
,
20 0, /* Defer constraints checking to the member type */
21 0, /* No PER visible constraints */
25 { ATF_NOFLAGS
, 0, offsetof(struct BasicServiceCode
, choice
.teleservice
),
26 (ASN_TAG_CLASS_CONTEXT
| (3 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_TeleserviceCode
,
29 0, /* Defer constraints checking to the member type */
30 0, /* No PER visible constraints */
35 static asn_TYPE_tag2member_t asn_MAP_BasicServiceCode_tag2el_1
[] = {
36 { (ASN_TAG_CLASS_CONTEXT
| (2 << 2)), 0, 0, 0 }, /* bearerService at 574 */
37 { (ASN_TAG_CLASS_CONTEXT
| (3 << 2)), 1, 0, 0 } /* teleservice at 575 */
39 static asn_CHOICE_specifics_t asn_SPC_BasicServiceCode_specs_1
= {
40 sizeof(struct BasicServiceCode
),
41 offsetof(struct BasicServiceCode
, _asn_ctx
),
42 offsetof(struct BasicServiceCode
, present
),
43 sizeof(((struct BasicServiceCode
*)0)->present
),
44 asn_MAP_BasicServiceCode_tag2el_1
,
45 2, /* Count of tags in the map */
47 -1 /* Extensions start */
49 asn_TYPE_descriptor_t asn_DEF_BasicServiceCode
= {
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_BasicServiceCode_constr_1
,
67 asn_MBR_BasicServiceCode_1
,
68 2, /* Elements count */
69 &asn_SPC_BasicServiceCode_specs_1
/* Additional specs */