GALANTHUS / ABI FUNCTION REFERENCE
gln_get_bank_info_tan_modes_count
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API size_t GLN_CALL gln_get_bank_info_tan_modes_count(const gln_bank_info_t* in_info);
Purpose
Returns the number of TAN mode rows embedded in the typed info view.
Return
Returns the number of rows or entries materialized in the supplied typed view.
| Type | Nullability | Ownership |
|---|---|---|
size_t | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_info | input | const gln_bank_info_t* | nullable | borrowed |
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 0.
Use this count as the exclusive upper bound for the matching _at accessor.