Cancellation

Cancellation — halt in-progress operations

Synopsis




GnomeVFSCancellation* gnome_vfs_cancellation_new
                                            (void);
void        gnome_vfs_cancellation_destroy  (GnomeVFSCancellation *cancellation);
void        gnome_vfs_cancellation_cancel   (GnomeVFSCancellation *cancellation);
gboolean    gnome_vfs_cancellation_check    (GnomeVFSCancellation *cancellation);
void        gnome_vfs_cancellation_ack      (GnomeVFSCancellation *cancellation);
gint        gnome_vfs_cancellation_get_fd   (GnomeVFSCancellation *cancellation);

Description

Details

gnome_vfs_cancellation_new ()

GnomeVFSCancellation* gnome_vfs_cancellation_new
                                            (void);
Returns : A pointer to the new GnomeVFSCancellation object.

gnome_vfs_cancellation_destroy ()

void        gnome_vfs_cancellation_destroy  (GnomeVFSCancellation *cancellation);
cancellation : A GnomeVFSCancellation object

gnome_vfs_cancellation_cancel ()

void        gnome_vfs_cancellation_cancel   (GnomeVFSCancellation *cancellation);
cancellation : A GnomeVFSCancellation object

gnome_vfs_cancellation_check ()

gboolean    gnome_vfs_cancellation_check    (GnomeVFSCancellation *cancellation);
cancellation : A GnomeVFSCancellation object
Returns : TRUE if the operation should be interrupted.

gnome_vfs_cancellation_ack ()

void        gnome_vfs_cancellation_ack      (GnomeVFSCancellation *cancellation);
cancellation : A GnomeVFSCancellation object

gnome_vfs_cancellation_get_fd ()

gint        gnome_vfs_cancellation_get_fd   (GnomeVFSCancellation *cancellation);
cancellation : A GnomeVFSCancellation object
Returns : the notificator's file descriptor, or -1 if starved of file descriptors.