Struct gio_sys::GFileIface [] [src]

pub struct GFileIface {
    pub g_iface: GTypeInterface,
    pub dup: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut GFile>,
    pub hash: Option<unsafe extern "C" fn(_: *mut GFile) -> c_uint>,
    pub equal: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> gboolean>,
    pub is_native: Option<unsafe extern "C" fn(_: *mut GFile) -> gboolean>,
    pub has_uri_scheme: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char) -> gboolean>,
    pub get_uri_scheme: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
    pub get_basename: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
    pub get_path: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
    pub get_uri: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
    pub get_parse_name: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut c_char>,
    pub get_parent: Option<unsafe extern "C" fn(_: *mut GFile) -> *mut GFile>,
    pub prefix_matches: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> gboolean>,
    pub get_relative_path: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile) -> *mut c_char>,
    pub resolve_relative_path: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut c_char) -> *mut GFile>,
    pub get_child_for_display_name: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut *mut GError) -> *mut GFile>,
    pub enumerate_children: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileEnumerator>,
    pub enumerate_children_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub enumerate_children_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileEnumerator>,
    pub query_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInfo>,
    pub query_info_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub query_info_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInfo>,
    pub query_filesystem_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInfo>,
    pub query_filesystem_info_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub query_filesystem_info_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInfo>,
    pub find_enclosing_mount: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GMount>,
    pub find_enclosing_mount_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub find_enclosing_mount_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GMount>,
    pub set_display_name: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFile>,
    pub set_display_name_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub set_display_name_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFile>,
    pub query_settable_attributes: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileAttributeInfoList>,
    pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>,
    pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>,
    pub query_writable_namespaces: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileAttributeInfoList>,
    pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>,
    pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>,
    pub set_attribute: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: GFileAttributeType, _: gpointer, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub set_attributes_from_info: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub set_attributes_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFileInfo, _: GFileQueryInfoFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub set_attributes_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GFileInfo, _: *mut *mut GError) -> gboolean>,
    pub read_fn: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileInputStream>,
    pub read_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub read_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileInputStream>,
    pub append_to: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>,
    pub append_to_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub append_to_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>,
    pub create: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>,
    pub create_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub create_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>,
    pub replace: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileOutputStream>,
    pub replace_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub replace_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileOutputStream>,
    pub delete_file: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub delete_file_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub delete_file_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub trash: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub trash_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub trash_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub make_directory: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub make_directory_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub make_directory_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub make_symbolic_link: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut c_char, _: *mut GCancellable, _: *mut *mut GError) -> gboolean>,
    pub _make_symbolic_link_async: Option<unsafe extern "C" fn()>,
    pub _make_symbolic_link_finish: Option<unsafe extern "C" fn()>,
    pub copy: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: *mut *mut GError) -> gboolean>,
    pub copy_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: c_int, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>,
    pub copy_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub move_: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GFile, _: GFileCopyFlags, _: *mut GCancellable, _: GFileProgressCallback, _: gpointer, _: *mut *mut GError) -> gboolean>,
    pub _move_async: Option<unsafe extern "C" fn()>,
    pub _move_finish: Option<unsafe extern "C" fn()>,
    pub mount_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountMountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub mount_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFile>,
    pub unmount_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub unmount_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub eject_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub eject_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub mount_enclosing_volume: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountMountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub mount_enclosing_volume_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub monitor_dir: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMonitorFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileMonitor>,
    pub monitor_file: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMonitorFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileMonitor>,
    pub open_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>,
    pub open_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub open_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>,
    pub create_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>,
    pub create_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub create_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>,
    pub replace_readwrite: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: *mut GCancellable, _: *mut *mut GError) -> *mut GFileIOStream>,
    pub replace_readwrite_async: Option<unsafe extern "C" fn(_: *mut GFile, _: *const c_char, _: gboolean, _: GFileCreateFlags, _: c_int, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub replace_readwrite_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> *mut GFileIOStream>,
    pub start_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GDriveStartFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub start_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub stop_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub stop_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub supports_thread_contexts: gboolean,
    pub unmount_mountable_with_operation: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub unmount_mountable_with_operation_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub eject_mountable_with_operation: Option<unsafe extern "C" fn(_: *mut GFile, _: GMountUnmountFlags, _: *mut GMountOperation, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub eject_mountable_with_operation_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub poll_mountable: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GCancellable, _: GAsyncReadyCallback, _: gpointer)>,
    pub poll_mountable_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut *mut GError) -> gboolean>,
    pub measure_disk_usage: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMeasureFlags, _: *mut GCancellable, _: GFileMeasureProgressCallback, _: gpointer, _: *mut u64, _: *mut u64, _: *mut u64, _: *mut *mut GError) -> gboolean>,
    pub measure_disk_usage_async: Option<unsafe extern "C" fn(_: *mut GFile, _: GFileMeasureFlags, _: c_int, _: *mut GCancellable, _: GFileMeasureProgressCallback, _: gpointer, _: GAsyncReadyCallback, _: gpointer)>,
    pub measure_disk_usage_finish: Option<unsafe extern "C" fn(_: *mut GFile, _: *mut GAsyncResult, _: *mut u64, _: *mut u64, _: *mut u64, _: *mut *mut GError) -> gboolean>,
}

Fields