find_string
Description:
Find an attribute with the specified type in the array.
If the attribute is marked invalid then it will be treated as not found. The resulting string will be null-terminated, and must be freed by the caller using g_free.
Parameters:
this |
The attributes array to search. |
attr_type |
The type of attribute to find. |
value |
The resulting string value. |
Returns:
Whether a value was found or not. |