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

📄 asn1p_class.h

📁 RSA加密/解密算法源码 asn1c-0.9.12
💻 H
字号:
/* * CLASS-related stuff. */#ifndef	ASN1_PARSER_CLASS_H#define	ASN1_PARSER_CLASS_H#include "asn1p_ref.h"/* * WITH SYNTAX free-form chunks. */typedef struct asn1p_wsyntx_chunk_s {	/*	 * It could be the union, but the story is:	 * if ref is here, the ref is used.	 * Otherwise, buf/len is used.	 */	asn1p_ref_t *ref;	char	*buf;	int	 len;	TQ_ENTRY(struct asn1p_wsyntx_chunk_s) next;} asn1p_wsyntx_chunk_t;typedef struct asn1p_wsyntx_s {	TQ_HEAD(struct asn1p_wsyntx_chunk_s) chunks;} asn1p_wsyntx_t;/* * Constructor, destructor and cloning function. */asn1p_wsyntx_chunk_t *asn1p_wsyntx_chunk_new(void);void asn1p_wsyntx_chunk_free(asn1p_wsyntx_chunk_t *);asn1p_wsyntx_chunk_t *asn1p_wsyntx_chunk_clone(asn1p_wsyntx_chunk_t *);asn1p_wsyntx_t *asn1p_wsyntx_new(void);void asn1p_wsyntx_free(asn1p_wsyntx_t *);asn1p_wsyntx_t *asn1p_wsyntx_clone(asn1p_wsyntx_t *);/* * RETURN VALUES: * 	 0:	Component has been added * 	-1:	Failure to add component (refer to errno) */asn1p_wsyntx_chunk_t *asn1p_wsyntx_chunk_fromref(asn1p_ref_t *ref, int do_copy);asn1p_wsyntx_chunk_t *asn1p_wsyntx_chunk_frombuf(char *buf, int len, int do_copy);#endif	/* ASN1_PARSER_CLASS_H */

⌨️ 快捷键说明

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