asn1p_xports.c
来自「RSA加密/解密算法源码 asn1c-0.9.12」· C语言 代码 · 共 35 行
C
35 行
#include <stdlib.h>#include <string.h>#include "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->from) free(xp->from); if(xp->from_oid) asn1p_oid_free(xp->from_oid); free(xp); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?