GALANTHUS / ABI FUNCTION REFERENCE
gln_get_bank_info_code
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const char* GLN_CALL gln_get_bank_info_code(const gln_bank_info_t* in_info);
Purpose
Returns the bank code copied into the typed info view from the FinTS info result's session BPD data.
Return
Returns the bank code copied into the typed info view from the FinTS info result's session BPD data.
| Type | Nullability | Ownership |
|---|---|---|
const char* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_info | input | const gln_bank_info_t* | nullable | borrowed |
Bank Metadata
gln_retrieve_bank_info builds these scalar fields from the FinTS info result, which copies bank name, bank code, and BPD version from the session BPD data when that data is present.
The values are stored as strings on the borrowed gln_bank_info_t view returned by gln_get_backend_result_bank_info.
Notes
Passing NULL for in_info is allowed and returns NULL.
This is a scalar field on the typed gln_bank_info_t result, not a row returned by an _at accessor.
The returned pointer is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.