modemdescriptor.c

来自「H.248协议编解码协议栈」· C语言 代码 · 共 154 行

C
154
字号
/* * Generated by asn1c-0.9.16 (http://lionet.info/asn1c) * From ASN.1 module "MEDIA-GATEWAY-CONTROL" * 	found in "h248_2.asn" */#include <asn_internal.h>#include "ModemDescriptor.h"static asn_TYPE_member_t asn_MBR_mtl_2[] = {	{ ATF_NOFLAGS, 0, 0,		(ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),		0,		(void *)&asn_DEF_ModemType,		0,	/* Defer constraints checking to the member type */		""		},};static ber_tlv_tag_t asn_DEF_mtl_2_tags[] = {	(ASN_TAG_CLASS_CONTEXT | (0 << 2)),	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};static asn_SET_OF_specifics_t asn_SPC_mtl_2_specs = {	sizeof(struct mtl),	offsetof(struct mtl, _asn_ctx),	1,	/* XER encoding is XMLValueList */};static /* Use -fall-defs-global to expose */asn_TYPE_descriptor_t asn_DEF_mtl_2 = {	"mtl",	"mtl",	SEQUENCE_OF_free,	SEQUENCE_OF_print,	SEQUENCE_OF_constraint,	SEQUENCE_OF_decode_ber,	SEQUENCE_OF_encode_der,	SEQUENCE_OF_decode_xer,	SEQUENCE_OF_encode_xer,	0,	/* Use generic outmost tag fetcher */	asn_DEF_mtl_2_tags,	sizeof(asn_DEF_mtl_2_tags)		/sizeof(asn_DEF_mtl_2_tags[0]) - 1, /* 1 */	asn_DEF_mtl_2_tags,	/* Same as above */	sizeof(asn_DEF_mtl_2_tags)		/sizeof(asn_DEF_mtl_2_tags[0]), /* 2 */	asn_MBR_mtl_2,	1,	/* Single element */	&asn_SPC_mtl_2_specs	/* Additional specs */};static asn_TYPE_member_t asn_MBR_mpl_4[] = {	{ ATF_NOFLAGS, 0, 0,		(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),		0,		(void *)&asn_DEF_PropertyParm,		0,	/* Defer constraints checking to the member type */		""		},};static ber_tlv_tag_t asn_DEF_mpl_4_tags[] = {	(ASN_TAG_CLASS_CONTEXT | (1 << 2)),	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};static asn_SET_OF_specifics_t asn_SPC_mpl_4_specs = {	sizeof(struct mpl),	offsetof(struct mpl, _asn_ctx),	0,	/* XER encoding is XMLDelimitedItemList */};static /* Use -fall-defs-global to expose */asn_TYPE_descriptor_t asn_DEF_mpl_4 = {	"mpl",	"mpl",	SEQUENCE_OF_free,	SEQUENCE_OF_print,	SEQUENCE_OF_constraint,	SEQUENCE_OF_decode_ber,	SEQUENCE_OF_encode_der,	SEQUENCE_OF_decode_xer,	SEQUENCE_OF_encode_xer,	0,	/* Use generic outmost tag fetcher */	asn_DEF_mpl_4_tags,	sizeof(asn_DEF_mpl_4_tags)		/sizeof(asn_DEF_mpl_4_tags[0]) - 1, /* 1 */	asn_DEF_mpl_4_tags,	/* Same as above */	sizeof(asn_DEF_mpl_4_tags)		/sizeof(asn_DEF_mpl_4_tags[0]), /* 2 */	asn_MBR_mpl_4,	1,	/* Single element */	&asn_SPC_mpl_4_specs	/* Additional specs */};static asn_TYPE_member_t asn_MBR_ModemDescriptor_1[] = {	{ ATF_NOFLAGS, 0, offsetof(struct ModemDescriptor, mtl),		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),		-1,	/* IMPLICIT tag at current level */		(void *)&asn_DEF_mtl_2,		0,	/* Defer constraints checking to the member type */		"mtl"		},	{ ATF_NOFLAGS, 0, offsetof(struct ModemDescriptor, mpl),		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),		-1,	/* IMPLICIT tag at current level */		(void *)&asn_DEF_mpl_4,		0,	/* Defer constraints checking to the member type */		"mpl"		},	{ ATF_POINTER, 1, offsetof(struct ModemDescriptor, nonStandardData),		(ASN_TAG_CLASS_CONTEXT | (2 << 2)),		-1,	/* IMPLICIT tag at current level */		(void *)&asn_DEF_NonStandardData,		0,	/* Defer constraints checking to the member type */		"nonStandardData"		},};static ber_tlv_tag_t asn_DEF_ModemDescriptor_1_tags[] = {	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};static asn_TYPE_tag2member_t asn_MAP_ModemDescriptor_1_tag2el[] = {    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mtl at 806 */    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* mpl at 807 */    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* nonStandardData at 808 */};static asn_SEQUENCE_specifics_t asn_SPC_ModemDescriptor_1_specs = {	sizeof(struct ModemDescriptor),	offsetof(struct ModemDescriptor, _asn_ctx),	asn_MAP_ModemDescriptor_1_tag2el,	3,	/* Count of tags in the map */	-1,	/* Start extensions */	-1	/* Stop extensions */};asn_TYPE_descriptor_t asn_DEF_ModemDescriptor = {	"ModemDescriptor",	"ModemDescriptor",	SEQUENCE_free,	SEQUENCE_print,	SEQUENCE_constraint,	SEQUENCE_decode_ber,	SEQUENCE_encode_der,	SEQUENCE_decode_xer,	SEQUENCE_encode_xer,	0,	/* Use generic outmost tag fetcher */	asn_DEF_ModemDescriptor_1_tags,	sizeof(asn_DEF_ModemDescriptor_1_tags)		/sizeof(asn_DEF_ModemDescriptor_1_tags[0]), /* 1 */	asn_DEF_ModemDescriptor_1_tags,	/* Same as above */	sizeof(asn_DEF_ModemDescriptor_1_tags)		/sizeof(asn_DEF_ModemDescriptor_1_tags[0]), /* 1 */	asn_MBR_ModemDescriptor_1,	3,	/* Elements count */	&asn_SPC_ModemDescriptor_1_specs	/* Additional specs */};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?