dmi_decoder_entity

Synopsis

#include <opendmi/decoder.h>

dmi_entity_t *dmi_decoder_entity(const dmi_decoder_t *decoder);

Description

The dmi_decoder_entity function returns the structure the decoder is reading, so that a decoding handler reaches it without being handed it separately.

Parameters

decoder

Decoder to query.

Return value

Structure being decoded, or nullptr if decoder is nullptr.

Errors

None.