1 #ifndef _SEMANAGE_SEUSER_INTERNAL_H_ 2 #define _SEMANAGE_SEUSER_INTERNAL_H_ 3 4 #include <semanage/seuser_record.h> 5 #include <semanage/seusers_local.h> 6 #include <semanage/seusers_policy.h> 7 #include <sepol/policydb.h> 8 #include "database.h" 9 #include "handle.h" 10 #include "dso.h" 11 12 hidden_proto(semanage_seuser_clone) 13 hidden_proto(semanage_seuser_compare) 14 hidden_proto(semanage_seuser_compare2) 15 hidden_proto(semanage_seuser_create) 16 hidden_proto(semanage_seuser_free) 17 hidden_proto(semanage_seuser_get_mlsrange) 18 hidden_proto(semanage_seuser_get_name) 19 hidden_proto(semanage_seuser_get_sename) 20 hidden_proto(semanage_seuser_key_create) 21 hidden_proto(semanage_seuser_key_extract) 22 hidden_proto(semanage_seuser_key_free) 23 hidden_proto(semanage_seuser_set_mlsrange) 24 hidden_proto(semanage_seuser_set_name) 25 hidden_proto(semanage_seuser_set_sename) 26 hidden_proto(semanage_seuser_iterate) 27 hidden_proto(semanage_seuser_iterate_local) 28 29 /* SEUSER RECORD: method table */ 30 extern record_table_t SEMANAGE_SEUSER_RTABLE; 31 32 extern int seuser_file_dbase_init(semanage_handle_t * handle, 33 const char *path_ro, 34 const char *path_rw, 35 dbase_config_t * dconfig); 36 37 extern void seuser_file_dbase_release(dbase_config_t * dconfig); 38 39 extern int hidden semanage_seuser_validate_local(semanage_handle_t * handle, 40 const sepol_policydb_t * 41 policydb); 42 43 #endif 44