type_def | The event type definition. |
field_name | The name of a structure field whose sub-fields are to be obtained. If set to NULL, the fields at the top level of the event are obtained. |
n | The number of field names returned in names. This parameter is used for output. |
names | An array of event type definitions. This parameter is used for output. |
Possible BrokerError major codes | Meaning |
AW_ERROR_FIELD_NOT_FOUND | The field_name does not exist in the event type. |
AW_ERROR_FIELD_TYPE_MISMATCH | The field_name incorrectly accesses a type, such as using a subscript on a non-sequence field. |
AW_ERROR_INVALID_FIELD_NAME | The field_name is invalid. |
AW_ERROR_INVALID_TYPEDEF | The type_def parameter is invalid. |
AW_ERROR_NULL_PARAM | The field_name, n, or names parameter is NULL. |