Method

GckObjectget_data_async

Declaration [src]

void
gck_object_get_data_async (
  GckObject* self,
  gulong attr_type,
  GckAllocator allocator,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Get the data for the specified attribute from the object.

This call will return immediately and complete asynchronously.

Parameters

attr_type gulong
 

The attribute to get data for.

allocator GckAllocator
 

An allocator with which to allocate memory for the data, or NULL for default.

cancellable GCancellable
 

Optional cancellation object, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

Called when the operation completes.

 The argument can be NULL.
user_data gpointer
 

Data to be passed to the callback.

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