GnomeVFS - Filesystem Abstraction library | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
gboolean gnome_vfs_module_callback_invoke (const char *callback_name, gconstpointer in, gsize in_size, gpointer out, gsize out_size); |
Modules need to perform special operations on callbacks that are not needed by applications, for instance, invoking them.
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.
callback_name : | The name of the module callback to set |
in : | In argument - type dependent on the specific callback |
in_size : | Size of the in argument |
out : | Out argument - type dependent on the specific callback |
out_size : | Size of the out argument |
Returns : | TRUE if a callback was invoked, FALSE if none was set. |