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

📄 asn1fix_tags.h

📁 ASN.1解析解码工具,可以解析各种ASN.1格式的文件,并对相应的BER文件解码
💻 H
字号:
#ifndef	_ASN1FIX_TAGS_H_#define	_ASN1FIX_TAGS_H_enum asn1f_aft_flags_e {	AFT_IMAGINARY_ANY	= 0x01,	/* Treat ANY tag as [IMAGINARY ANY] */	AFT_FETCH_OUTMOST	= 0x02,	/* Fetch only outmost tag */	AFT_FULL_COLLECT	= 0x04,	/* Collect all tags */	AFT_CANON_CHOICE	= 0x08	/* Fetch the minimal CHOICE root tag */};/* * Allocate and return an array of tags for the given type. * Type1 ::= [2] EXPLICIT Type2 * Type2 ::= [3] IMPLICIT Type3 * Type3 ::= [4] EXPLICIT SEQUENCE { ... } * Will return [2][3][UNIVERSAL 16] for the Type1. */int asn1f_fetch_tags(asn1p_t *asn, asn1p_module_t *mod, asn1p_expr_t *expr,	struct asn1p_type_tag_s **tags, enum asn1f_aft_flags_e flags);/* * Fetch the outmost tag of the given type. * Type1 ::= Type2 * Type2 ::= [2] Type3 * Type3 ::= SEQUENCE { ... } * Will yield [2] for Type1. */int asn1f_fetch_outmost_tag(asn1p_t *asn, asn1p_module_t *mod, asn1p_expr_t *expr, struct asn1p_type_tag_s *tag, enum asn1f_aft_flags_e);#endif	/* _ASN1FIX_TAGS_H_ */

⌨️ 快捷键说明

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