Whole document tree
    

Whole document tree

Module Callbacks (Module API)

Module Callbacks (Module API)

Name

Module Callbacks (Module API) -- interface to module callbacks for use by gnome-vfs modules

Description

Modules need to perform special operations on callbacks that are not needed by applications, for instance, invoking them.

Details

gnome_vfs_module_callback_invoke ()

gboolean    gnome_vfs_module_callback_invoke
                                            (const char *callback_name,
                                             gconstpointer in,
                                             gsize in_size,
                                             gpointer out,
                                             gsize out_size);

Invoke a default callback for callback_name, with in arguments specified by in and in_size, and out arguments specified by out and out_size.

This function should only be called by gnome-vfs modules.

If this function is called from an async job thread, it will invoke the current async handler for callback_name, if any. If no async handler is set, or the function is not called from an async job thread, the regular handler, if any, will be invoked instead. If no handler at all is found for callback_name, the function returns FALSE.