1 #ifndef _SEMANAGE_FCONTEXT_INTERNAL_H_ 2 #define _SEMANAGE_FCONTEXT_INTERNAL_H_ 3 4 #include <semanage/fcontext_record.h> 5 #include <semanage/fcontexts_local.h> 6 #include <semanage/fcontexts_policy.h> 7 #include <sepol/policydb.h> 8 #include "database.h" 9 #include "handle.h" 10 11 /* FCONTEXT RECORD: method table */ 12 extern record_table_t SEMANAGE_FCONTEXT_RTABLE; 13 14 extern int fcontext_file_dbase_init(semanage_handle_t * handle, 15 const char *path_ro, 16 const char *path_rw, 17 dbase_config_t * dconfig); 18 19 extern void fcontext_file_dbase_release(dbase_config_t * dconfig); 20 21 extern int semanage_fcontext_validate_local(semanage_handle_t * handle, 22 const sepol_policydb_t * 23 policydb); 24 25 #endif 26