Struct sudo_plugin_sys::sudoers_group_plugin
[−]
[src]
#[repr(C)]pub struct sudoers_group_plugin { pub version: c_uint, pub init: Option<unsafe extern "C" fn(version: c_int, sudo_printf: sudo_printf_t, argv: *const *mut c_char) -> c_int>, pub cleanup: Option<unsafe extern "C" fn()>, pub query: Option<unsafe extern "C" fn(user: *const c_char, group: *const c_char, pwd: *const passwd) -> c_int>, }
Fields
version: c_uint
init: Option<unsafe extern "C" fn(version: c_int, sudo_printf: sudo_printf_t, argv: *const *mut c_char) -> c_int>
cleanup: Option<unsafe extern "C" fn()>
query: Option<unsafe extern "C" fn(user: *const c_char, group: *const c_char, pwd: *const passwd) -> c_int>
Trait Implementations
impl Debug for sudoers_group_plugin
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for sudoers_group_plugin
[src]
impl Clone for sudoers_group_plugin
[src]
fn clone(&self) -> sudoers_group_plugin
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more