GALANTHUS / ABI FUNCTION REFERENCE
gln_get_bank_info_account_at
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const gln_account_t* GLN_CALL gln_get_bank_info_account_at(
const gln_bank_info_t* in_info,
size_t in_index);
Purpose
Returns the embedded gln_account_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_account_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 Accounts
The info typed view copies each account row from the info result into embedded gln_account_t storage.
Use the same gln_get_account_* field accessors on these rows that are used for rows returned by gln_retrieve_accounts.
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 account row is borrowed from the parent backend result envelope and must not be released directly. Destroying the envelope invalidates the row and strings returned by gln_get_account_* accessors.
See Also
gln_get_backend_result_bank_infogln_get_bank_info_accounts_countgln_get_account_ibangln_get_account_bank_codegln_get_account_ownergln_retrieve_bank_infogln_get_account_bicgln_get_account_numbergln_get_account_subaccount_numbergln_get_account_currencygln_get_account_product_name- ABI function index