23 #ifndef GMIO_TASK_IFACE_H
24 #define GMIO_TASK_IFACE_H
51 void*
cookie, intmax_t value, intmax_t max_value);
void * cookie
Optional opaque pointer on a user task object, passed as first argument to hook functions.
Definition: task_iface.h:33
Fundamental global declarations, included by almost all other header/source files.
bool(* func_is_stop_requested)(void *cookie)
Optional pointer on a function that says if the currently running task must stop. ...
Definition: task_iface.h:41
void(* func_handle_progress)(void *cookie, intmax_t value, intmax_t max_value)
Optional pointer on a function that is called anytime some new progress was done. ...
Definition: task_iface.h:50
Defines an interface through which a task can be controlled.
Definition: task_iface.h:29