Home | History | Annotate | Download | only in src
      1 #ifndef _SEMANAGE_IFACE_INTERNAL_H_
      2 #define _SEMANAGE_IFACE_INTERNAL_H_
      3 
      4 #include <semanage/iface_record.h>
      5 #include <semanage/interfaces_local.h>
      6 #include <semanage/interfaces_policy.h>
      7 #include "database.h"
      8 #include "handle.h"
      9 #include "dso.h"
     10 
     11 hidden_proto(semanage_iface_create)
     12     hidden_proto(semanage_iface_compare)
     13     hidden_proto(semanage_iface_compare2)
     14     hidden_proto(semanage_iface_clone)
     15     hidden_proto(semanage_iface_free)
     16     hidden_proto(semanage_iface_get_ifcon)
     17     hidden_proto(semanage_iface_get_msgcon)
     18     hidden_proto(semanage_iface_get_name)
     19     hidden_proto(semanage_iface_key_extract)
     20     hidden_proto(semanage_iface_key_free)
     21     hidden_proto(semanage_iface_set_ifcon)
     22     hidden_proto(semanage_iface_set_msgcon)
     23     hidden_proto(semanage_iface_set_name)
     24 
     25 /* IFACE RECORD: metod table */
     26 extern record_table_t SEMANAGE_IFACE_RTABLE;
     27 
     28 extern int iface_policydb_dbase_init(semanage_handle_t * handle,
     29 				     dbase_config_t * dconfig);
     30 
     31 extern void iface_policydb_dbase_release(dbase_config_t * dconfig);
     32 
     33 extern int iface_file_dbase_init(semanage_handle_t * handle,
     34 				 const char *path_ro,
     35 				 const char *path_rw,
     36 				 dbase_config_t * dconfig);
     37 
     38 extern void iface_file_dbase_release(dbase_config_t * dconfig);
     39 
     40 #endif
     41