Lines Matching defs:semanage_handle_t

31 typedef struct semanage_handle semanage_handle_t;
35 semanage_handle_t *semanage_handle_create(void);
37 /* Deallocate all space associated with a semanage_handle_t, including
41 void semanage_handle_destroy(semanage_handle_t *);
54 void semanage_select_store(semanage_handle_t * handle, char *path,
58 int semanage_reload_policy(semanage_handle_t * handle);
62 void semanage_set_reload(semanage_handle_t * handle, int do_reload);
67 void semanage_set_rebuild(semanage_handle_t * handle, int do_rebuild);
72 int semanage_get_hll_compiler_path(semanage_handle_t *sh, char *lang_ext, char **compiler_path);
77 void semanage_set_create_store(semanage_handle_t * handle, int create_store);
80 int semanage_get_disable_dontaudit(semanage_handle_t * handle);
83 void semanage_set_disable_dontaudit(semanage_handle_t * handle, int disable_dontaudit);
86 void semanage_set_check_contexts(semanage_handle_t * sh, int do_check_contexts);
89 uint16_t semanage_get_default_priority(semanage_handle_t *sh);
92 int semanage_set_default_priority(semanage_handle_t *sh, uint16_t priority);
99 int semanage_is_managed(semanage_handle_t *);
106 int semanage_connect(semanage_handle_t *);
112 int semanage_disconnect(semanage_handle_t *);
121 int semanage_begin_transaction(semanage_handle_t *);
128 int semanage_commit(semanage_handle_t *);
134 int semanage_access_check(semanage_handle_t * sh);
137 int semanage_is_connected(semanage_handle_t * sh);
140 int semanage_mls_enabled(semanage_handle_t *sh);
149 int semanage_get_preserve_tunables(semanage_handle_t * handle);
152 void semanage_set_preserve_tunables(semanage_handle_t * handle, int preserve_tunables);
155 int semanage_get_ignore_module_cache(semanage_handle_t *handle);
158 void semanage_set_ignore_module_cache(semanage_handle_t *handle, int ignore_module_cache);
161 void semanage_set_store_root(semanage_handle_t *sh, const char *store_root);