GALANTHUS / ABI FUNCTION REFERENCE
gln_get_bank_info_tan_mode_at
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);
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.
| Type | Nullability | Ownership |
|---|---|---|
const gln_tan_mode_t* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_info | input | const gln_bank_info_t* | nullable | borrowed |
in_index | input | size_t | value | value |
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.