Method
GckObjectget_data_full
Declaration [src]
guchar*
gck_object_get_data_full (
GckObject* self,
gulong attr_type,
GckAllocator allocator,
GCancellable* cancellable,
gsize* n_data,
GError** error
)
Description [src]
Get the data for the specified attribute from the object. For convenience the returned data has an extra null terminator, not included in the returned length.
This call may block for an indefinite period.
This method is not directly available to language bindings. |
Parameters
attr_type |
gulong |
The attribute to get data for. |
|
allocator |
GckAllocator |
An allocator with which to allocate memory for the data, or |
|
cancellable |
GCancellable |
Optional cancellation object, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
n_data |
gsize* |
The length of the resulting data. |
|
The argument will be set by the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |