grl-operation

grl-operation

Synopsis

#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);

Description

Details

grl_operation_cancel ()

void                grl_operation_cancel                (guint operation_id);

Cancel an operation.

operation_id :

the identifier of a running operation

grl_operation_get_data ()

gpointer            grl_operation_get_data              (guint operation_id);

Obtains the previously attached data

operation_id :

the identifier of a running operation

Returns :

The previously attached data. [transfer none]

grl_operation_set_data ()

void                grl_operation_set_data              (guint operation_id,
                                                         gpointer user_data);

Attach a pointer to the specific operation.

operation_id :

the identifier of a running operation

user_data :

the data to attach