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.
this |
The attributes array to search. |
attr_type |
The type of attribute to find. |
value |
The resulting string value. |
Whether a value was found or not. |