Lines Matching refs:rule_map
56 typedef struct rule_map rule_map;
123 struct rule_map {
136 rule_map *r; /** The rule map to store at that location */
160 static void rule_map_free(rule_map *rm, bool is_in_htable);
472 static void rule_map_print(FILE *fp, rule_map *r) {
495 static map_match rule_map_cmp(rule_map *rmA, rule_map *rmB) {
566 static void rule_map_free(rule_map *rm, bool is_in_htable) {
610 * Checks a rule_map for any variation of KVP's that shouldn't be allowed.
620 static void rule_map_validate(rule_map *rm) {
626 rule_map *assert;
681 static rule_map *rule_map_new(kvp keys[], size_t num_of_keys, int lineno,
685 rule_map *new_map = NULL;
693 new_map = calloc(1, (num_of_keys * sizeof(key_map)) + sizeof(rule_map));
967 static void rule_add(rule_map *rm) {
1103 rule_map *r = rule_map_new(keys, token_cnt, lineno, in_file->name, is_never_allow);
1144 rule_map *r;
1157 r = list_entry(v, rule_map, listify);