101 lines
3.3 KiB
C
101 lines
3.3 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 "CUG-Subscription.h"
|
|
|
|
static asn_TYPE_member_t asn_MBR_CUG_Subscription_1[] = {
|
|
{ ATF_NOFLAGS, 0, offsetof(struct CUG_Subscription, cug_Index),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
|
|
0,
|
|
&asn_DEF_CUG_Index,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* PER is not compiled, use -gen-PER */
|
|
0,
|
|
"cug-Index"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct CUG_Subscription, cug_Interlock),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
|
|
0,
|
|
&asn_DEF_CUG_Interlock,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* PER is not compiled, use -gen-PER */
|
|
0,
|
|
"cug-Interlock"
|
|
},
|
|
{ ATF_NOFLAGS, 0, offsetof(struct CUG_Subscription, intraCUG_Options),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
|
|
0,
|
|
&asn_DEF_IntraCUG_Options,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* PER is not compiled, use -gen-PER */
|
|
0,
|
|
"intraCUG-Options"
|
|
},
|
|
{ ATF_POINTER, 2, offsetof(struct CUG_Subscription, basicServiceGroupList),
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
|
|
0,
|
|
&asn_DEF_Ext_BasicServiceGroupList,
|
|
0, /* Defer constraints checking to the member type */
|
|
0, /* PER is not compiled, use -gen-PER */
|
|
0,
|
|
"basicServiceGroupList"
|
|
},
|
|
{ ATF_POINTER, 1, offsetof(struct CUG_Subscription, extensionContainer),
|
|
(ASN_TAG_CLASS_CONTEXT | (0 << 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"
|
|
},
|
|
};
|
|
static ber_tlv_tag_t asn_DEF_CUG_Subscription_tags_1[] = {
|
|
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
|
|
};
|
|
static asn_TYPE_tag2member_t asn_MAP_CUG_Subscription_tag2el_1[] = {
|
|
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* cug-Index at 1579 */
|
|
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* cug-Interlock at 1580 */
|
|
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 2, 0, 0 }, /* intraCUG-Options at 1581 */
|
|
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 3, 0, 0 }, /* basicServiceGroupList at 1582 */
|
|
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 4, 0, 0 } /* extensionContainer at 1583 */
|
|
};
|
|
static asn_SEQUENCE_specifics_t asn_SPC_CUG_Subscription_specs_1 = {
|
|
sizeof(struct CUG_Subscription),
|
|
offsetof(struct CUG_Subscription, _asn_ctx),
|
|
asn_MAP_CUG_Subscription_tag2el_1,
|
|
5, /* Count of tags in the map */
|
|
0, 0, 0, /* Optional elements (not needed) */
|
|
4, /* Start extensions */
|
|
6 /* Stop extensions */
|
|
};
|
|
asn_TYPE_descriptor_t asn_DEF_CUG_Subscription = {
|
|
"CUG-Subscription",
|
|
"CUG-Subscription",
|
|
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_CUG_Subscription_tags_1,
|
|
sizeof(asn_DEF_CUG_Subscription_tags_1)
|
|
/sizeof(asn_DEF_CUG_Subscription_tags_1[0]), /* 1 */
|
|
asn_DEF_CUG_Subscription_tags_1, /* Same as above */
|
|
sizeof(asn_DEF_CUG_Subscription_tags_1)
|
|
/sizeof(asn_DEF_CUG_Subscription_tags_1[0]), /* 1 */
|
|
0, /* No PER visible constraints */
|
|
asn_MBR_CUG_Subscription_1,
|
|
5, /* Elements count */
|
|
&asn_SPC_CUG_Subscription_specs_1 /* Additional specs */
|
|
};
|
|
|