Struct sudo_plugin_sys::io_plugin [] [src]

#[repr(C)]
pub struct io_plugin { pub type_: c_uint, pub version: c_uint, pub open: Option<unsafe extern "C" fn(version: c_uint, conversation: sudo_conv_t, sudo_printf: sudo_printf_t, settings: *const *mut c_char, user_info: *const *mut c_char, command_info: *const *mut c_char, argc: c_int, argv: *const *mut c_char, user_env: *const *mut c_char, plugin_plugins: *const *mut c_char) -> c_int>, pub close: Option<unsafe extern "C" fn(exit_status: c_int, error: c_int)>, pub show_version: Option<unsafe extern "C" fn(verbose: c_int) -> c_int>, pub log_ttyin: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>, pub log_ttyout: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>, pub log_stdin: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>, pub log_stdout: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>, pub log_stderr: Option<unsafe extern "C" fn(buf: *const c_char, len: c_uint) -> c_int>, pub register_hooks: Option<unsafe extern "C" fn(version: c_int, register_hook: Option<unsafe extern "C" fn(hook: *mut sudo_hook) -> c_int>)>, pub deregister_hooks: Option<unsafe extern "C" fn(version: c_int, deregister_hook: Option<unsafe extern "C" fn(hook: *mut sudo_hook) -> c_int>)>, pub change_winsize: Option<unsafe extern "C" fn(rows: c_uint, cols: c_uint) -> c_int>, }

Fields

Trait Implementations

impl Debug for io_plugin
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for io_plugin
[src]

impl Clone for io_plugin
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for io_plugin

impl Sync for io_plugin