libosmo-asn1-map/src/RequestedInfo.c

141 lines
4.8 KiB
C

/*
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
* From ASN.1 module "MAP-MS-DataTypes"
* found in "../asn//MAP-MS-DataTypes.asn"
*/
#include <asn_internal.h>
#include "RequestedInfo.h"
static asn_TYPE_member_t asn_MBR_RequestedInfo_1[] = {
{ ATF_POINTER, 9, offsetof(struct RequestedInfo, locationInformation),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NULL,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"locationInformation"
},
{ ATF_POINTER, 8, offsetof(struct RequestedInfo, subscriberState),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NULL,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"subscriberState"
},
{ ATF_POINTER, 7, offsetof(struct RequestedInfo, extensionContainer),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_ExtensionContainer,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"extensionContainer"
},
{ ATF_POINTER, 6, offsetof(struct RequestedInfo, currentLocation),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NULL,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"currentLocation"
},
{ ATF_POINTER, 5, offsetof(struct RequestedInfo, requestedDomain),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_DomainType,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"requestedDomain"
},
{ ATF_POINTER, 4, offsetof(struct RequestedInfo, imei),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NULL,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"imei"
},
{ ATF_POINTER, 3, offsetof(struct RequestedInfo, ms_classmark),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NULL,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"ms-classmark"
},
{ ATF_POINTER, 2, offsetof(struct RequestedInfo, mnpRequestedInfo),
(ASN_TAG_CLASS_CONTEXT | (7 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NULL,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"mnpRequestedInfo"
},
{ ATF_POINTER, 1, offsetof(struct RequestedInfo, t_adsData),
(ASN_TAG_CLASS_CONTEXT | (8 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_NULL,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"t-adsData"
},
};
static ber_tlv_tag_t asn_DEF_RequestedInfo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_RequestedInfo_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* locationInformation at 2470 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* subscriberState at 2471 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* extensionContainer at 2472 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* currentLocation at 2474 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* requestedDomain at 2475 */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 6, 0, 0 }, /* ms-classmark at 2477 */
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 5, 0, 0 }, /* imei at 2476 */
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* mnpRequestedInfo at 2478 */
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 } /* t-adsData at 2479 */
};
static asn_SEQUENCE_specifics_t asn_SPC_RequestedInfo_specs_1 = {
sizeof(struct RequestedInfo),
offsetof(struct RequestedInfo, _asn_ctx),
asn_MAP_RequestedInfo_tag2el_1,
9, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
2, /* Start extensions */
10 /* Stop extensions */
};
asn_TYPE_descriptor_t asn_DEF_RequestedInfo = {
"RequestedInfo",
"RequestedInfo",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_RequestedInfo_tags_1,
sizeof(asn_DEF_RequestedInfo_tags_1)
/sizeof(asn_DEF_RequestedInfo_tags_1[0]), /* 1 */
asn_DEF_RequestedInfo_tags_1, /* Same as above */
sizeof(asn_DEF_RequestedInfo_tags_1)
/sizeof(asn_DEF_RequestedInfo_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
asn_MBR_RequestedInfo_1,
9, /* Elements count */
&asn_SPC_RequestedInfo_specs_1 /* Additional specs */
};