7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64
10 TITLE="GnomeVFS - Filesystem Abstraction library"
11 HREF="index.html"><LINK
14 HREF="everything-else.html"><LINK
17 HREF="everything-else.html"><LINK
20 HREF="gnome-vfs-configuration.html"></HEAD
43 >GnomeVFS - Filesystem Abstraction library</FONT
52 HREF="everything-else.html"
57 ><<< Previous Page</B
90 HREF="everything-else.html"
106 HREF="gnome-vfs-configuration.html"
111 >Next Page >>></B
120 NAME="GNOME-VFS-CANCELLATION"
130 >Cancellation -- </DIV
132 CLASS="REFSYNOPSISDIV"
149 GnomeVFSCancellation* <A
150 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-NEW"
151 >gnome_vfs_cancellation_new</A
155 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-DESTROY"
156 >gnome_vfs_cancellation_destroy</A
157 > (GnomeVFSCancellation *cancellation);
159 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-CANCEL"
160 >gnome_vfs_cancellation_cancel</A
161 > (GnomeVFSCancellation *cancellation);
163 HREF=../glib/glib-basic-types.html#GBOOLEAN
165 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-CHECK"
166 >gnome_vfs_cancellation_check</A
167 > (GnomeVFSCancellation *cancellation);
169 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-ACK"
170 >gnome_vfs_cancellation_ack</A
171 > (GnomeVFSCancellation *cancellation);
173 HREF=../glib/glib-basic-types.html#GINT
175 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-GET-FD"
176 >gnome_vfs_cancellation_get_fd</A
177 > (GnomeVFSCancellation *cancellation);</PRE
206 NAME="GNOME-VFS-CANCELLATION-NEW"
208 >gnome_vfs_cancellation_new ()</H3
217 CLASS="PROGRAMLISTING"
218 >GnomeVFSCancellation* gnome_vfs_cancellation_new
224 >Create a new GnomeVFSCancellation object for reporting cancellation to a
229 CLASS="INFORMALTABLE"
256 > A pointer to the new GnomeVFSCancellation object.</TD
271 NAME="GNOME-VFS-CANCELLATION-DESTROY"
273 >gnome_vfs_cancellation_destroy ()</H3
282 CLASS="PROGRAMLISTING"
283 >void gnome_vfs_cancellation_destroy (GnomeVFSCancellation *cancellation);</PRE
297 CLASS="INFORMALTABLE"
326 > A GnomeVFSCancellation object</TD
341 NAME="GNOME-VFS-CANCELLATION-CANCEL"
343 >gnome_vfs_cancellation_cancel ()</H3
352 CLASS="PROGRAMLISTING"
353 >void gnome_vfs_cancellation_cancel (GnomeVFSCancellation *cancellation);</PRE
358 >Send a cancellation request through <TT
367 CLASS="INFORMALTABLE"
396 > A GnomeVFSCancellation object</TD
411 NAME="GNOME-VFS-CANCELLATION-CHECK"
413 >gnome_vfs_cancellation_check ()</H3
422 CLASS="PROGRAMLISTING"
424 HREF=../glib/glib-basic-types.html#GBOOLEAN
425 >gboolean</A> gnome_vfs_cancellation_check (GnomeVFSCancellation *cancellation);</PRE
430 >Check for pending cancellation.</P
434 CLASS="INFORMALTABLE"
463 > A GnomeVFSCancellation object</TD
481 > if the operation should be interrupted.</TD
496 NAME="GNOME-VFS-CANCELLATION-ACK"
498 >gnome_vfs_cancellation_ack ()</H3
507 CLASS="PROGRAMLISTING"
508 >void gnome_vfs_cancellation_ack (GnomeVFSCancellation *cancellation);</PRE
513 >Acknowledge a cancellation. This should be called if
515 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-CHECK"
516 >gnome_vfs_cancellation_check</A
520 > or if `select()' reports that
521 input is available on the file descriptor returned by
523 HREF="gnome-vfs-cancellation.html#GNOME-VFS-CANCELLATION-GET-FD"
524 >gnome_vfs_cancellation_get_fd</A
529 CLASS="INFORMALTABLE"
558 > A GnomeVFSCancellation object</TD
573 NAME="GNOME-VFS-CANCELLATION-GET-FD"
575 >gnome_vfs_cancellation_get_fd ()</H3
584 CLASS="PROGRAMLISTING"
586 HREF=../glib/glib-basic-types.html#GINT
587 >gint</A> gnome_vfs_cancellation_get_fd (GnomeVFSCancellation *cancellation);</PRE
592 >Get a file descriptor -based notificator for <TT
603 > receives a cancellation request, a character will be made
604 available on the returned file descriptor for input.</P
606 >This is very useful for detecting cancellation during I/O operations: you
607 can use the `select()' call to check for available input/output on the file
608 you are reading/writing, and on the notificator's file descriptor at the
609 same time. If a data is available on the notificator's file descriptor, you
610 know you have to cancel the read/write operation.</P
614 CLASS="INFORMALTABLE"
643 > A GnomeVFSCancellation object</TD
658 > the notificator's file descriptor.</TD
670 CLEAR="all"><BR><TABLE
682 HREF="everything-else.html"
687 ><<< Previous Page</B
720 HREF="everything-else.html"
736 HREF="gnome-vfs-configuration.html"
741 >Next Page >>></B