find_string


Description:

public bool find_string (ulong attr_type, out string value)

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.