1 #ifndef UTILS_H 2 #define UTILS_H 3 4 #include <stdbool.h> 5 #include <stdint.h> 6 #include <sepol/policydb/avtab.h> 7 #include <sepol/policydb/policydb.h> 8 9 10 extern bool USAGE_ERROR; 11 12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms); 13 14 bool load_policy(char *filename, policydb_t * policydb, struct policy_file *pf); 15 16 #endif /* UTILS_H */ 17