enumerated.c

来自「RSA加密/解密算法源码 asn1c-0.9.12」· C语言 代码 · 共 34 行

C
34
字号
/*- * Copyright (c) 2003 Lev Walkin <vlm@lionet.info>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */#include <asn_internal.h>#include <ENUMERATED.h>#include <asn_codecs_prim.h>	/* Encoder and decoder of a primitive type *//* * ENUMERATED basic type description. */static ber_tlv_tag_t asn_DEF_ENUMERATED_tags[] = {	(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))};asn_TYPE_descriptor_t asn_DEF_ENUMERATED = {	"ENUMERATED",	"ENUMERATED",	ASN__PRIMITIVE_TYPE_free,	INTEGER_print,			/* Implemented in terms of INTEGER */	asn_generic_no_constraint,	ber_decode_primitive,	INTEGER_encode_der,		/* Implemented in terms of INTEGER */	INTEGER_decode_xer,	/* This is temporary! */	INTEGER_encode_xer,	0, /* Use generic outmost tag fetcher */	asn_DEF_ENUMERATED_tags,	sizeof(asn_DEF_ENUMERATED_tags) / sizeof(asn_DEF_ENUMERATED_tags[0]),	asn_DEF_ENUMERATED_tags,	/* Same as above */	sizeof(asn_DEF_ENUMERATED_tags) / sizeof(asn_DEF_ENUMERATED_tags[0]),	0, 0,	/* No members */	0	/* No specifics */};

⌨️ 快捷键说明

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