Whole document tree
    

Whole document tree

Asynchronous File I/O

Asynchronous File I/O

Name

Asynchronous File I/O -- allows for non-blocking file operations

Synopsis



void        gnome_vfs_async_cancel          (GnomeVFSAsyncHandle *handle);
void        gnome_vfs_async_open            (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_open_uri        (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_open_as_channel (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             guint advised_block_size,
                                             GnomeVFSAsyncOpenAsChannelCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_open_uri_as_channel
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             guint advised_block_size,
                                             GnomeVFSAsyncOpenAsChannelCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_create          (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_create_uri      (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_create_symbolic_link
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             const gchar *uri_reference,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_create_as_channel
                                            (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncCreateAsChannelCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_create_uri_as_channel
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncCreateAsChannelCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_close           (GnomeVFSAsyncHandle *handle,
                                             GnomeVFSAsyncCloseCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_read            (GnomeVFSAsyncHandle *handle,
                                             gpointer buffer,
                                             guint bytes,
                                             GnomeVFSAsyncReadCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_write           (GnomeVFSAsyncHandle *handle,
                                             gconstpointer buffer,
                                             guint bytes,
                                             GnomeVFSAsyncWriteCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_get_file_info   (GnomeVFSAsyncHandle **handle_return,
                                             GList *uri_list,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSAsyncGetFileInfoCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_set_file_info   (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSFileInfo *info,
                                             GnomeVFSSetFileInfoMask mask,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSAsyncSetFileInfoCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_load_directory  (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSDirectoryFilterType filter_type,
                                             GnomeVFSDirectoryFilterOptions filter_options,
                                             const gchar *filter_pattern,
                                             guint items_per_notification,
                                             GnomeVFSAsyncDirectoryLoadCallback callback,
                                             gpointer callback_data);
void        gnome_vfs_async_load_directory_uri
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSDirectoryFilterType filter_type,
                                             GnomeVFSDirectoryFilterOptions filter_options,
                                             const gchar *filter_pattern,
                                             guint items_per_notification,
                                             GnomeVFSAsyncDirectoryLoadCallback callback,
                                             gpointer callback_data);
GnomeVFSResult gnome_vfs_async_xfer         (GnomeVFSAsyncHandle **handle_return,
                                             const GList *source_uri_list,
                                             const GList *target_uri_list,
                                             GnomeVFSXferOptions xfer_options,
                                             GnomeVFSXferErrorMode error_mode,
                                             GnomeVFSXferOverwriteMode overwrite_mode,
                                             GnomeVFSAsyncXferProgressCallback progress_update_callback,
                                             gpointer update_callback_data,
                                             GnomeVFSXferProgressCallback progress_sync_callback,
                                             gpointer sync_callback_data);
void        gnome_vfs_async_find_directory  (GnomeVFSAsyncHandle **handle_return,
                                             GList *near_uri_list,
                                             GnomeVFSFindDirectoryKind kind,
                                             gboolean create_if_needed,
                                             gboolean find_if_needed,
                                             guint permissions,
                                             GnomeVFSAsyncFindDirectoryCallback callback,
                                             gpointer user_data);

Description

Details

gnome_vfs_async_cancel ()

void        gnome_vfs_async_cancel          (GnomeVFSAsyncHandle *handle);


gnome_vfs_async_open ()

void        gnome_vfs_async_open            (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_open_uri ()

void        gnome_vfs_async_open_uri        (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_open_as_channel ()

void        gnome_vfs_async_open_as_channel (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             guint advised_block_size,
                                             GnomeVFSAsyncOpenAsChannelCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_open_uri_as_channel ()

void        gnome_vfs_async_open_uri_as_channel
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             guint advised_block_size,
                                             GnomeVFSAsyncOpenAsChannelCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_create ()

void        gnome_vfs_async_create          (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_create_uri ()

void        gnome_vfs_async_create_uri      (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_create_symbolic_link ()

void        gnome_vfs_async_create_symbolic_link
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             const gchar *uri_reference,
                                             GnomeVFSAsyncOpenCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_create_as_channel ()

void        gnome_vfs_async_create_as_channel
                                            (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncCreateAsChannelCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_create_uri_as_channel ()

void        gnome_vfs_async_create_uri_as_channel
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSOpenMode open_mode,
                                             gboolean exclusive,
                                             guint perm,
                                             GnomeVFSAsyncCreateAsChannelCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_close ()

void        gnome_vfs_async_close           (GnomeVFSAsyncHandle *handle,
                                             GnomeVFSAsyncCloseCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_read ()

void        gnome_vfs_async_read            (GnomeVFSAsyncHandle *handle,
                                             gpointer buffer,
                                             guint bytes,
                                             GnomeVFSAsyncReadCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_write ()

void        gnome_vfs_async_write           (GnomeVFSAsyncHandle *handle,
                                             gconstpointer buffer,
                                             guint bytes,
                                             GnomeVFSAsyncWriteCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_get_file_info ()

void        gnome_vfs_async_get_file_info   (GnomeVFSAsyncHandle **handle_return,
                                             GList *uri_list,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSAsyncGetFileInfoCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_set_file_info ()

void        gnome_vfs_async_set_file_info   (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSFileInfo *info,
                                             GnomeVFSSetFileInfoMask mask,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSAsyncSetFileInfoCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_load_directory ()

void        gnome_vfs_async_load_directory  (GnomeVFSAsyncHandle **handle_return,
                                             const gchar *text_uri,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSDirectoryFilterType filter_type,
                                             GnomeVFSDirectoryFilterOptions filter_options,
                                             const gchar *filter_pattern,
                                             guint items_per_notification,
                                             GnomeVFSAsyncDirectoryLoadCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_load_directory_uri ()

void        gnome_vfs_async_load_directory_uri
                                            (GnomeVFSAsyncHandle **handle_return,
                                             GnomeVFSURI *uri,
                                             GnomeVFSFileInfoOptions options,
                                             GnomeVFSDirectoryFilterType filter_type,
                                             GnomeVFSDirectoryFilterOptions filter_options,
                                             const gchar *filter_pattern,
                                             guint items_per_notification,
                                             GnomeVFSAsyncDirectoryLoadCallback callback,
                                             gpointer callback_data);


gnome_vfs_async_xfer ()

GnomeVFSResult gnome_vfs_async_xfer         (GnomeVFSAsyncHandle **handle_return,
                                             const GList *source_uri_list,
                                             const GList *target_uri_list,
                                             GnomeVFSXferOptions xfer_options,
                                             GnomeVFSXferErrorMode error_mode,
                                             GnomeVFSXferOverwriteMode overwrite_mode,
                                             GnomeVFSAsyncXferProgressCallback progress_update_callback,
                                             gpointer update_callback_data,
                                             GnomeVFSXferProgressCallback progress_sync_callback,
                                             gpointer sync_callback_data);


gnome_vfs_async_find_directory ()

void        gnome_vfs_async_find_directory  (GnomeVFSAsyncHandle **handle_return,
                                             GList *near_uri_list,
                                             GnomeVFSFindDirectoryKind kind,
                                             gboolean create_if_needed,
                                             gboolean find_if_needed,
                                             guint permissions,
                                             GnomeVFSAsyncFindDirectoryCallback callback,
                                             gpointer user_data);