pub type GMountOperationClass = _GMountOperationClass;
Expand description
GMountOperation:
Class for providing authentication methods for mounting operations, such as mounting a file locally, or authenticating with a server.
Aliased Type§
struct GMountOperationClass {Show 16 fields
pub parent_class: _GObjectClass,
pub ask_password: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *const i8, *const i8, u32)>,
pub ask_question: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut *const i8)>,
pub reply: Option<unsafe extern "C" fn(*mut _GMountOperation, u32)>,
pub aborted: Option<unsafe extern "C" fn(*mut _GMountOperation)>,
pub show_processes: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut _GArray, *mut *const i8)>,
pub show_unmount_progress: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, i64, i64)>,
pub _g_reserved1: Option<unsafe extern "C" fn()>,
pub _g_reserved2: Option<unsafe extern "C" fn()>,
pub _g_reserved3: Option<unsafe extern "C" fn()>,
pub _g_reserved4: Option<unsafe extern "C" fn()>,
pub _g_reserved5: Option<unsafe extern "C" fn()>,
pub _g_reserved6: Option<unsafe extern "C" fn()>,
pub _g_reserved7: Option<unsafe extern "C" fn()>,
pub _g_reserved8: Option<unsafe extern "C" fn()>,
pub _g_reserved9: Option<unsafe extern "C" fn()>,
}
Fields§
§parent_class: _GObjectClass
§ask_password: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *const i8, *const i8, u32)>
§ask_question: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut *const i8)>
GMountOperationClass::ask_question: @op: a #GMountOperation @message: string containing a message to display to the user @choices: (array zero-terminated=1) (element-type utf8): an array of strings for each possible choice
Virtual implementation of #GMountOperation::ask-question.
reply: Option<unsafe extern "C" fn(*mut _GMountOperation, u32)>
§aborted: Option<unsafe extern "C" fn(*mut _GMountOperation)>
§show_processes: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, *mut _GArray, *mut *const i8)>
GMountOperationClass::show_processes: @op: a #GMountOperation @message: string containing a message to display to the user @processes: (element-type GPid): an array of #GPid for processes blocking the operation @choices: (array zero-terminated=1) (element-type utf8): an array of strings for each possible choice
Virtual implementation of #GMountOperation::show-processes.
Since: 2.22
show_unmount_progress: Option<unsafe extern "C" fn(*mut _GMountOperation, *const i8, i64, i64)>
§_g_reserved1: Option<unsafe extern "C" fn()>
§_g_reserved2: Option<unsafe extern "C" fn()>
§_g_reserved3: Option<unsafe extern "C" fn()>
§_g_reserved4: Option<unsafe extern "C" fn()>
§_g_reserved5: Option<unsafe extern "C" fn()>
§_g_reserved6: Option<unsafe extern "C" fn()>
§_g_reserved7: Option<unsafe extern "C" fn()>
§_g_reserved8: Option<unsafe extern "C" fn()>
§_g_reserved9: Option<unsafe extern "C" fn()>