libosmo-asn1-map/src/SM-RP-OAold.c

77 lines
2.3 KiB
C

/*
* Generated by asn1c-0.9.21 (http://lionet.info/asn1c)
* From ASN.1 module "DummyMAP"
* found in "../asn//GSMMAP.asn"
*/
#include <asn_internal.h>
#include "SM-RP-OAold.h"
static asn_TYPE_member_t asn_MBR_SM_RP_OAold_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct SM_RP_OAold, choice.msisdn),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_ISDN_AddressString,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"msisdn"
},
{ ATF_NOFLAGS, 0, offsetof(struct SM_RP_OAold, choice.serviceCentreAddressOA),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_AddressString,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"serviceCentreAddressOA"
},
{ ATF_NOFLAGS, 0, offsetof(struct SM_RP_OAold, choice.noSM_RP_OA),
(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,
"noSM-RP-OA"
},
};
static asn_TYPE_tag2member_t asn_MAP_SM_RP_OAold_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 0, 0, 0 }, /* msisdn at 563 */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 1, 0, 0 }, /* serviceCentreAddressOA at 564 */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 2, 0, 0 } /* noSM-RP-OA at 565 */
};
static asn_CHOICE_specifics_t asn_SPC_SM_RP_OAold_specs_1 = {
sizeof(struct SM_RP_OAold),
offsetof(struct SM_RP_OAold, _asn_ctx),
offsetof(struct SM_RP_OAold, present),
sizeof(((struct SM_RP_OAold *)0)->present),
asn_MAP_SM_RP_OAold_tag2el_1,
3, /* Count of tags in the map */
0,
-1 /* Extensions start */
};
asn_TYPE_descriptor_t asn_DEF_SM_RP_OAold = {
"SM-RP-OAold",
"SM-RP-OAold",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
CHOICE_outmost_tag,
0, /* No effective tags (pointer) */
0, /* No effective tags (count) */
0, /* No tags (pointer) */
0, /* No tags (count) */
0, /* No PER visible constraints */
asn_MBR_SM_RP_OAold_1,
3, /* Elements count */
&asn_SPC_SM_RP_OAold_specs_1 /* Additional specs */
};