Home | History | Annotate | Download | only in src

Lines Matching defs:usrlvl

1367 	struct cil_userlevel *usrlvl = NULL;
1379 cil_userlevel_init(&usrlvl);
1381 usrlvl->user_str = parse_current->next->data;
1384 usrlvl->level_str = parse_current->next->next->data;
1386 cil_level_init(&usrlvl->level);
1388 rc = cil_fill_level(parse_current->next->next->cl_head, usrlvl->level);
1394 ast_node->data = usrlvl;
1402 cil_destroy_userlevel(usrlvl);
1406 void cil_destroy_userlevel(struct cil_userlevel *usrlvl)
1408 if (usrlvl == NULL) {
1412 if (usrlvl->level_str == NULL && usrlvl->level != NULL) {
1413 cil_destroy_level(usrlvl->level);
1416 free(usrlvl);