utils.h 361 B

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