gnome-vfs-module-callback

gnome-vfs-module-callback —

Synopsis




void        (*GnomeVFSModuleCallback)       (gconstpointer in,
                                             gsize in_size,
                                             gpointer out,
                                             gsize out_size,
                                             gpointer callback_data);
void        (*GnomeVFSModuleCallbackResponse)
                                            (gpointer response_data);
void        (*GnomeVFSAsyncModuleCallback)  (gconstpointer in,
                                             gsize in_size,
                                             gpointer out,
                                             gsize out_size,
                                             gpointer callback_data,
                                             GnomeVFSModuleCallbackResponse response,
                                             gpointer response_data);
void        gnome_vfs_module_callback_set_default
                                            (const char *callback_name,
                                             GnomeVFSModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
void        gnome_vfs_module_callback_push  (const char *callback_name,
                                             GnomeVFSModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
void        gnome_vfs_module_callback_pop   (const char *callback_name);
void        gnome_vfs_async_module_callback_set_default
                                            (const char *callback_name,
                                             GnomeVFSAsyncModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
void        gnome_vfs_async_module_callback_push
                                            (const char *callback_name,
                                             GnomeVFSAsyncModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
void        gnome_vfs_async_module_callback_pop
                                            (const char *callback_name);

Description

Details

GnomeVFSModuleCallback ()

void        (*GnomeVFSModuleCallback)       (gconstpointer in,
                                             gsize in_size,
                                             gpointer out,
                                             gsize out_size,
                                             gpointer callback_data);
in : The in argument for this callback; the exact type depends on the specific callback
in_size : Size of the in argument; useful for sanity-checking
out : The out argument for this callback; the exact type depends on the specific callback
out_size : Size of the out argument; useful for sanity-checking
callback_data : The callback_data specified when this callback was set

GnomeVFSModuleCallbackResponse ()

void        (*GnomeVFSModuleCallbackResponse)
                                            (gpointer response_data);
response_data : Pass the response_data argument originally passed to the async callback

GnomeVFSAsyncModuleCallback ()

void        (*GnomeVFSAsyncModuleCallback)  (gconstpointer in,
                                             gsize in_size,
                                             gpointer out,
                                             gsize out_size,
                                             gpointer callback_data,
                                             GnomeVFSModuleCallbackResponse response,
                                             gpointer response_data);
in : The in argument for this callback; the exact type depends on the specific callback
in_size : Size of the in argument; useful for sanity-checking
out : The out argument for this callback; the exact type depends on the specific callback
out_size : Size of the out argument; useful for sanity-checking
callback_data : The callback_data specified when this callback was set
response : Response function to call when the callback is completed
response_data : Argument to pass to response

gnome_vfs_module_callback_set_default ()

void        gnome_vfs_module_callback_set_default
                                            (const char *callback_name,
                                             GnomeVFSModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
callback_name : The name of the module callback to set
callback : The function to call when the callback is invoked
callback_data : Pointer to pass as the callback_data argument to callback
destroy_notify : Function to call when callback_data is to be freed.

gnome_vfs_module_callback_push ()

void        gnome_vfs_module_callback_push  (const char *callback_name,
                                             GnomeVFSModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
callback_name : The name of the module callback to set temporarily
callback : The function to call when the callback is invoked
callback_data : Pointer to pass as the callback_data argument to callback
destroy_notify : Function to call when callback_data is to be freed.

gnome_vfs_module_callback_pop ()

void        gnome_vfs_module_callback_pop   (const char *callback_name);
callback_name : The name of the module callback to remove a temporary handler for

gnome_vfs_async_module_callback_set_default ()

void        gnome_vfs_async_module_callback_set_default
                                            (const char *callback_name,
                                             GnomeVFSAsyncModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
callback_name : The name of the async module callback to set
callback : The function to call when the callback is invoked
callback_data : Pointer to pass as the callback_data argument to callback
destroy_notify : Function to call when callback_data is to be freed.

gnome_vfs_async_module_callback_push ()

void        gnome_vfs_async_module_callback_push
                                            (const char *callback_name,
                                             GnomeVFSAsyncModuleCallback callback,
                                             gpointer callback_data,
                                             GDestroyNotify destroy_notify);
callback_name : The name of the module callback to set temporarily
callback : The function to call when the callback is invoked
callback_data : Pointer to pass as the callback_data argument to callback
destroy_notify : Function to call when callback_data is to be freed.

gnome_vfs_async_module_callback_pop ()

void        gnome_vfs_async_module_callback_pop
                                            (const char *callback_name);
callback_name : The name of the module callback to remove a temporary handler for