4 >Module Callbacks (Module API)</TITLE
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64
10 TITLE="GnomeVFS - Filesystem Abstraction library"
11 HREF="index.html"><LINK
13 TITLE="Filesystem Modules"
14 HREF="modules.html"><LINK
17 HREF="gnome-vfs-module.html"><LINK
19 TITLE="inet-connection"
20 HREF="gnome-vfs-inet-connection.html"></HEAD
43 >GnomeVFS - Filesystem Abstraction library</FONT
52 HREF="gnome-vfs-module.html"
57 ><<< Previous Page</B
106 HREF="gnome-vfs-inet-connection.html"
111 >Next Page >>></B
120 NAME="GNOME-VFS-MODULE-CALLBACK-MODULE-API"
121 >Module Callbacks (Module API)</A
130 >Module Callbacks (Module API) -- interface to module callbacks for use by gnome-vfs modules</DIV
132 CLASS="REFSYNOPSISDIV"
150 HREF=../glib/glib-basic-types.html#GBOOLEAN
152 HREF="gnome-vfs-module-callback-module-api.html#GNOME-VFS-MODULE-CALLBACK-INVOKE"
153 >gnome_vfs_module_callback_invoke</A
155 (const char *callback_name,
157 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
158 >gconstpointer</A> in,
160 HREF=../glib/glib-basic-types.html#GSIZE
163 HREF=../glib/glib-basic-types.html#GPOINTER
166 HREF=../glib/glib-basic-types.html#GSIZE
167 >gsize</A> out_size);</PRE
180 >Modules need to perform special operations on callbacks that are not
181 needed by applications, for instance, invoking them.</P
197 NAME="GNOME-VFS-MODULE-CALLBACK-INVOKE"
199 >gnome_vfs_module_callback_invoke ()</H3
208 CLASS="PROGRAMLISTING"
210 HREF=../glib/glib-basic-types.html#GBOOLEAN
211 >gboolean</A> gnome_vfs_module_callback_invoke
212 (const char *callback_name,
214 HREF=../glib/glib-basic-types.html#GCONSTPOINTER
215 >gconstpointer</A> in,
217 HREF=../glib/glib-basic-types.html#GSIZE
220 HREF=../glib/glib-basic-types.html#GPOINTER
223 HREF=../glib/glib-basic-types.html#GSIZE
224 >gsize</A> out_size);</PRE
229 >Invoke a default callback for <TT
245 >, and out arguments specified by <TT
258 >This function should only be called by gnome-vfs modules.</P
260 >If this function is called from an async job thread, it will invoke
261 the current async handler for <TT
266 >, if any. If no async
267 handler is set, or the function is not called from an async job
268 thread, the regular handler, if any, will be invoked instead. If no
269 handler at all is found for <TT
274 >, the function returns
279 CLASS="INFORMALTABLE"
308 > The name of the module callback to set</TD
325 > In argument - type dependent on the specific callback</TD
342 > Size of the in argument</TD
359 > Out argument - type dependent on the specific callback</TD
376 > Size of the out argument</TD
391 > TRUE if a callback was invoked, FALSE if none was set. </TD
409 HREF="gnome-vfs-module-callbacks.html"
413 HREF="gnome-vfs-standard-callbacks.html"
414 >Standard Callbacks</A
420 CLEAR="all"><BR><TABLE
432 HREF="gnome-vfs-module.html"
437 ><<< Previous Page</B
486 HREF="gnome-vfs-inet-connection.html"
491 >Next Page >>></B