⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nativeenumerated.c

📁 RSA加密/解密算法源码 asn1c-0.9.12
💻 C
字号:
/*- * Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved. * Redistribution and modifications are permitted subject to BSD license. *//* * Please read the NativeInteger.h for the explanation wrt. differences between * INTEGER and NativeInteger. * Basically, both are decoders and encoders of ASN.1 INTEGER type, but this * implementation deals with the standard (machine-specific) representation * of them instead of using the platform-independent buffer. */#include <asn_internal.h>#include <NativeEnumerated.h>/* * NativeEnumerated basic type description. */static ber_tlv_tag_t asn_DEF_NativeEnumerated_tags[] = {	(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))};asn_TYPE_descriptor_t asn_DEF_NativeEnumerated = {	"ENUMERATED",			/* The ASN.1 type is still ENUMERATED */	"ENUMERATED",	NativeInteger_free,	NativeInteger_print,	asn_generic_no_constraint,	NativeInteger_decode_ber,	NativeInteger_encode_der,	NativeInteger_decode_xer,	NativeInteger_encode_xer,	0, /* Use generic outmost tag fetcher */	asn_DEF_NativeEnumerated_tags,	sizeof(asn_DEF_NativeEnumerated_tags) / sizeof(asn_DEF_NativeEnumerated_tags[0]),	asn_DEF_NativeEnumerated_tags,	/* Same as above */	sizeof(asn_DEF_NativeEnumerated_tags) / sizeof(asn_DEF_NativeEnumerated_tags[0]),	0, 0,	/* No members */	0	/* No specifics */};

⌨️ 快捷键说明

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