Union selinux_sys::selinux_callback [−][src]
#[repr(C)] pub union selinux_callback { pub func_log: Option<unsafe extern "C" fn(type_: c_int, fmt: *const c_char, ...) -> c_int>, pub func_audit: Option<unsafe extern "C" fn(auditdata: *mut c_void, cls: security_class_t, msgbuf: *mut c_char, msgbufsize: usize) -> c_int>, pub func_validate: Option<unsafe extern "C" fn(ctx: *mut *mut c_char) -> c_int>, pub func_setenforce: Option<unsafe extern "C" fn(enforcing: c_int) -> c_int>, pub func_policyload: Option<unsafe extern "C" fn(seqno: c_int) -> c_int>, }
Fields
func_log: Option<unsafe extern "C" fn(type_: c_int, fmt: *const c_char, ...) -> c_int>
func_audit: Option<unsafe extern "C" fn(auditdata: *mut c_void, cls: security_class_t, msgbuf: *mut c_char, msgbufsize: usize) -> c_int>
func_validate: Option<unsafe extern "C" fn(ctx: *mut *mut c_char) -> c_int>
func_setenforce: Option<unsafe extern "C" fn(enforcing: c_int) -> c_int>
func_policyload: Option<unsafe extern "C" fn(seqno: c_int) -> c_int>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for selinux_callback
impl Send for selinux_callback
impl Sync for selinux_callback
impl Unpin for selinux_callback
impl UnwindSafe for selinux_callback
Blanket Implementations
Mutably borrows from an owned value. Read more