int auparse_get_type(auparse_state_t *au);
auparse_get_type will return the integer value for the current record of the current event.
auparse_get_type returns 0 if an error occurs; otherwise, the record's type.
auparse_get_type_name(3),auparse_next_record(3).