asn1p_xports.c
来自「ASN.1解析解码工具,可以解析各种ASN.1格式的文件,并对相应的BER文件解」· C语言 代码 · 共 35 行
C
35 行
#include <stdlib.h>#include <string.h>#include "asn1parser/asn1parser.h"/* * Construct a new structure that would hold the EXPORTS or IMPORTS * clause data. */asn1p_xports_t *asn1p_xports_new() { asn1p_xports_t *xp; xp = calloc(1, sizeof *xp); if(xp) { TQ_INIT(&(xp->members)); } return xp;}/* * Destroy the xports structure. */voidasn1p_xports_free(asn1p_xports_t *xp) { if(xp) { if(xp->fromModuleName) free(xp->fromModuleName); if(xp->identifier.oid) asn1p_oid_free(xp->identifier.oid); free(xp); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?