Lines Matching defs:ibendportcon
4752 struct cil_ibendportcon *ibendportcon = NULL;
4761 cil_ibendportcon_init(&ibendportcon);
4763 ibendportcon->dev_name_str = parse_current->next->data;
4765 rc = cil_fill_integer(parse_current->next->next, &ibendportcon->port, 10);
4772 ibendportcon->context_str = parse_current->next->next->next->data;
4774 cil_context_init(&ibendportcon->context);
4776 rc = cil_fill_context(parse_current->next->next->next->cl_head, ibendportcon->context);
4781 ast_node->data = ibendportcon;
4787 cil_tree_log(parse_current, CIL_ERR, "Bad ibendportcon declaration");
4788 cil_destroy_ibendportcon(ibendportcon);
4792 void cil_destroy_ibendportcon(struct cil_ibendportcon *ibendportcon)
4794 if (!ibendportcon)
4797 if (!ibendportcon->context_str && ibendportcon->context)
4798 cil_destroy_context(ibendportcon->context);
4800 free(ibendportcon);