remark release date
[Net-Radio-Location-SUPL-Test.git] / asn1 / CurrentSecurityContext.c
blob225e2dc041cebacbf4ae8b7563e587aa771691e8
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 "CurrentSecurityContext.h"
10 static asn_per_constraints_t asn_PER_type_CurrentSecurityContext_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_CurrentSecurityContext_1[] = {
16 { ATF_NOFLAGS, 0, offsetof(struct CurrentSecurityContext, choice.gsm_SecurityContextData),
17 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
18 -1, /* IMPLICIT tag at current level */
19 &asn_DEF_GSM_SecurityContextData,
20 0, /* Defer constraints checking to the member type */
21 0, /* No PER visible constraints */
23 "gsm-SecurityContextData"
25 { ATF_NOFLAGS, 0, offsetof(struct CurrentSecurityContext, choice.umts_SecurityContextData),
26 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
27 -1, /* IMPLICIT tag at current level */
28 &asn_DEF_UMTS_SecurityContextData,
29 0, /* Defer constraints checking to the member type */
30 0, /* No PER visible constraints */
32 "umts-SecurityContextData"
35 static asn_TYPE_tag2member_t asn_MAP_CurrentSecurityContext_tag2el_1[] = {
36 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* gsm-SecurityContextData at 429 */
37 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* umts-SecurityContextData at 430 */
39 static asn_CHOICE_specifics_t asn_SPC_CurrentSecurityContext_specs_1 = {
40 sizeof(struct CurrentSecurityContext),
41 offsetof(struct CurrentSecurityContext, _asn_ctx),
42 offsetof(struct CurrentSecurityContext, present),
43 sizeof(((struct CurrentSecurityContext *)0)->present),
44 asn_MAP_CurrentSecurityContext_tag2el_1,
45 2, /* Count of tags in the map */
47 -1 /* Extensions start */
49 asn_TYPE_descriptor_t asn_DEF_CurrentSecurityContext = {
50 "CurrentSecurityContext",
51 "CurrentSecurityContext",
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_CurrentSecurityContext_constr_1,
67 asn_MBR_CurrentSecurityContext_1,
68 2, /* Elements count */
69 &asn_SPC_CurrentSecurityContext_specs_1 /* Additional specs */