• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 void *load_policy(const char *policy_path);
8 void destroy_policy(void *policydbp);
9 void *init_avtab(void *policydbp);
10 void *init_cond_avtab(void *policydbp);
11 void destroy_avtab(void *avtab_iterp);
12 void *init_expanded_avtab(void *policydbp);
13 void *init_expanded_cond_avtab(void *policydbp);
14 void destroy_expanded_avtab(void *avtab_iterp);
15 int get_type(char *out, size_t max_size, void *policydbp, void *type_iterp);
16 void *init_type_iter(void *policydbp, const char *type, bool is_attr);
17 void destroy_type_iter(void *type_iterp);
18 void *init_genfs_iter(void *policydbp);
19 int get_genfs(char *out, size_t max_size, void *policydbp, void *genfs_iterp);
20 void destroy_genfs_iter(void *genfs_iterp);
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 
26