transaction.c

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

C
76
字号
/* * 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 "Transaction.h"static asn_TYPE_member_t asn_MBR_Transaction_1[] = {	{ ATF_NOFLAGS, 0, offsetof(struct Transaction, choice.transactionRequest),		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),		-1,	/* IMPLICIT tag at current level */		(void *)&asn_DEF_TransactionRequest,		0,	/* Defer constraints checking to the member type */		"transactionRequest"		},	{ ATF_NOFLAGS, 0, offsetof(struct Transaction, choice.transactionPending),		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),		-1,	/* IMPLICIT tag at current level */		(void *)&asn_DEF_TransactionPending,		0,	/* Defer constraints checking to the member type */		"transactionPending"		},	{ ATF_NOFLAGS, 0, offsetof(struct Transaction, choice.transactionReply),		(ASN_TAG_CLASS_CONTEXT | (2 << 2)),		-1,	/* IMPLICIT tag at current level */		(void *)&asn_DEF_TransactionReply,		0,	/* Defer constraints checking to the member type */		"transactionReply"		},	{ ATF_NOFLAGS, 0, offsetof(struct Transaction, choice.transactionResponseAck),		(ASN_TAG_CLASS_CONTEXT | (3 << 2)),		-1,	/* IMPLICIT tag at current level */		(void *)&asn_DEF_TransactionResponseAck,		0,	/* Defer constraints checking to the member type */		"transactionResponseAck"		},};static asn_TYPE_tag2member_t asn_MAP_Transaction_1_tag2el[] = {    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* transactionRequest at 79 */    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* transactionPending at 80 */    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* transactionReply at 81 */    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* transactionResponseAck at 82 */};static asn_CHOICE_specifics_t asn_SPC_Transaction_1_specs = {	sizeof(struct Transaction),	offsetof(struct Transaction, _asn_ctx),	offsetof(struct Transaction, present),	sizeof(((struct Transaction *)0)->present),	asn_MAP_Transaction_1_tag2el,	4,	/* Count of tags in the map */	1	/* Whether extensible */};asn_TYPE_descriptor_t asn_DEF_Transaction = {	"Transaction",	"Transaction",	CHOICE_free,	CHOICE_print,	CHOICE_constraint,	CHOICE_decode_ber,	CHOICE_encode_der,	CHOICE_decode_xer,	CHOICE_encode_xer,	CHOICE_outmost_tag,	0,	/* No effective tags (pointer) */	0,	/* No effective tags (count) */	0,	/* No tags (pointer) */	0,	/* No tags (count) */	asn_MBR_Transaction_1,	4,	/* Elements count */	&asn_SPC_Transaction_1_specs	/* Additional specs */};

⌨️ 快捷键说明

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