Lines Matching defs:pirqcon
4813 struct cil_pirqcon *pirqcon = NULL;
4824 cil_pirqcon_init(&pirqcon);
4826 rc = cil_fill_integer(parse_current->next, &pirqcon->pirq, 10);
4832 pirqcon->context_str = parse_current->next->next->data;
4834 cil_context_init(&pirqcon->context);
4836 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context);
4842 ast_node->data = pirqcon;
4848 cil_tree_log(parse_current, CIL_ERR, "Bad pirqcon declaration");
4849 cil_destroy_pirqcon(pirqcon);
4853 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon)
4855 if (pirqcon == NULL) {
4859 if (pirqcon->context_str == NULL && pirqcon->context != NULL) {
4860 cil_destroy_context(pirqcon->context);
4863 free(pirqcon);