Function

GioIOSchedulerJobFunc

Declaration

gboolean
(* GIOSchedulerJobFunc) (
  GIOSchedulerJob* job,
  GCancellable* cancellable,
  gpointer user_data
)

Description [src]

I/O Job function.

Long-running jobs should periodically check the cancellable to see if they have been cancelled.

Parameters

job GIOSchedulerJob
 

A GIOSchedulerJob.

 The data is owned by the caller of the function.
cancellable GCancellable
 

Optional GCancellable object, NULL to ignore.

 The argument can be NULL.
 The data is owned by the caller of the function.
user_data gpointer
 

The data to pass to callback function.

Return value

Returns: gboolean
 

TRUE if this function should be called again to complete the job, FALSE if the job is complete (or cancelled)