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.
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. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
error |
GError ** |
The return location for a GError* , or NULL . |