Home | History | Annotate | Download | only in src

Lines Matching refs:sidorder

1132 	struct cil_sidorder *sidorder = NULL;
1145 cil_sidorder_init(&sidorder);
1147 rc = cil_fill_list(parse_current->next->cl_head, CIL_SIDORDER, &sidorder->sid_list_str);
1152 cil_list_for_each(curr, sidorder->sid_list_str) {
1154 cil_log(CIL_ERR, "Sidorder cannot be unordered.\n");
1160 ast_node->data = sidorder;
1166 cil_log(CIL_ERR, "Bad sidorder declaration at line %d of %s\n",
1168 cil_destroy_sidorder(sidorder);
1172 void cil_destroy_sidorder(struct cil_sidorder *sidorder)
1174 if (sidorder == NULL) {
1178 if (sidorder->sid_list_str != NULL) {
1179 cil_list_destroy(&sidorder->sid_list_str, 1);
1182 free(sidorder);