1 #ifndef _SEPOL_INTERNAL_HANDLE_H_ 2 #define _SEPOL_INTERNAL_HANDLE_H_ 3 4 #include <sepol/handle.h> 5 6 struct sepol_handle { 7 /* Error handling */ 8 int msg_level; 9 const char *msg_channel; 10 const char *msg_fname; 11 #ifdef __GNUC__ 12 __attribute__ ((format(printf, 3, 4))) 13 #endif 14 void (*msg_callback) (void *varg, 15 sepol_handle_t * handle, const char *fmt, ...); 16 void *msg_callback_arg; 17 18 int disable_dontaudit; 19 int expand_consume_base; 20 int preserve_tunables; 21 }; 22 23 #endif 24