hi_opt_attr

Description

Defines the channel attributes.

Prototype

typedef struct {
    hi_opt_attr_type attr_type;
    hi_u32 len;
    hi_void* value;
} hi_opt_attr;

Members

Member

Description

attr_type

Attribute type.

len

Attribute value length, which is fixed at 4.

value

Attribute value, which is set based on the value of each attribute type. For details, see the description of the hi_opt_attr_type attribute type.