1 
2 #ifdef __cplusplus
3 extern "C" {
4 #endif
5 
6 int get_allow_rule(char *out, size_t len, void *policydbp, void *avtab_iterp);
7 bool init_libsepol(const char *policy_path);
8 void *load_policy(const char *policy_path);
9 void destroy_policy(void *policydbp);
10 void *init_avtab(void *policydbp);
11 void *init_cond_avtab(void *policydbp);
12 void destroy_avtab(void *avtab_iterp);
13 int get_type(char *out, size_t max_size, void *policydbp, void *type_iterp);
14 void *init_type_iter(void *policydbp, const char *type, bool is_attr);
15 void destroy_type_iter(void *type_iterp);
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21