Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API const gln_tan_mode_t* GLN_CALL gln_get_bank_info_tan_mode_at(
    const gln_bank_info_t* in_info,
    size_t                 in_index);
  • Family: Typed info accessors
  • Return type: const gln_tan_mode_t*

Purpose

Returns the embedded gln_tan_mode_t row at in_index from the typed info view.

Return

Returns the borrowed row or entry at in_index, or NULL when the handle is NULL or the index is out of range.

TypeNullabilityOwnership
const gln_tan_mode_t*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_infoinputconst gln_bank_info_t*nullableborrowed
in_indexinputsize_tvaluevalue

Embedded TAN Modes

The info typed view copies each TAN mode row from the info result into embedded gln_tan_mode_t storage.

Use the same gln_get_tan_mode_* field accessors on these rows that are used for rows returned by gln_retrieve_tan_modes.

Notes

Passing NULL for in_info is allowed and returns NULL.

Indexes are zero-based. The accessor returns NULL when the index is outside the materialized collection.

The returned string is borrowed from the parent backend result envelope and must not be released directly. Destroying the envelope invalidates it.

See Also