| Top | Description |
#include <grilo.h> void grl_operation_cancel (guint operation_id); gpointer grl_operation_get_data (guint operation_id); void grl_operation_set_data (guint operation_id,gpointer user_data); void grl_operation_set_data_full (guint operation_id,gpointer user_data,GDestroyNotify destroy_func);
void grl_operation_cancel (guint operation_id);
Cancel an operation.
|
the identifier of a running operation |
gpointer grl_operation_get_data (guint operation_id);
Obtains the previously attached data
|
the identifier of a running operation |
Returns : |
The previously attached data. [transfer none] |
void grl_operation_set_data (guint operation_id,gpointer user_data);
Attach a pointer to the specific operation.
|
the identifier of a running operation |
|
the data to attach |
void grl_operation_set_data_full (guint operation_id,gpointer user_data,GDestroyNotify destroy_func);
Attach a pointer to the specific operation.
Note that the destroy_func callback is not called if user_data is NULL.
|
the identifier of a running operation |
|
the data to attach. [allow-none] |
|
function to release user_data when the operation terminates. [allow-none]
|
Since 0.2.7