4 #include "asn1parser.h"
7 * Construct a new structure that would hold the EXPORTS or IMPORTS
14 xp = calloc(1, sizeof *xp);
16 TQ_INIT(&(xp->xp_members));
23 * Destroy the xports structure.
26 asn1p_xports_free(asn1p_xports_t *xp) {
30 free(xp->fromModuleName);
31 asn1p_oid_free(xp->identifier.oid);
33 while((expr = TQ_REMOVE(&(xp->xp_members), next)))
34 asn1p_expr_free(expr);