Skip to content

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

GLN_API const gln_ebics_bank_keys_t* GLN_CALL gln_get_backend_result_ebics_bank_keys(
    const gln_backend_result_t* in_result);
  • Family: EBICS setup and key lifecycle
  • Return type: const gln_ebics_bank_keys_t*

Purpose

Borrows the typed EBICS bank-key view from an envelope whose kind is GLN_BACKEND_RESULT_KIND_EBICS_BANK_KEYS.

HPB follow-up envelopes use this kind even when their status is GLN_ERR_FOLLOW_UP_REQUIRED.

Return

Returns the borrowed const gln_ebics_bank_keys_t* view only when gln_get_backend_result_kind reports GLN_BACKEND_RESULT_KIND_EBICS_BANK_KEYS.

TypeNullabilityOwnership
const gln_ebics_bank_keys_t*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_resultinputconst gln_backend_result_t*nullableborrowed

Projection Semantics

Returns the borrowed const gln_ebics_bank_keys_t* view only when gln_get_backend_result_kind reports GLN_BACKEND_RESULT_KIND_EBICS_BANK_KEYS.

The accessor checks the envelope kind directly; it does not check gln_get_backend_result_outcome or gln_get_backend_result_status. Callers should inspect outcome, status, and kind before projecting a typed success payload.

NULL means either in_result is NULL or the envelope kind does not match this projection.

The returned view is borrowed from the envelope. Destroying the envelope invalidates the view, rows or nested handles borrowed from it, and strings returned by field accessors.

Notes

Passing NULL for in_result is allowed and returns NULL.

Call this only after gln_get_backend_result_outcome reports GLN_BACKEND_OUTCOME_SUCCESS and gln_get_backend_result_kind reports GLN_BACKEND_RESULT_KIND_EBICS_BANK_KEYS.

The returned typed view is borrowed from the envelope. Destroying the envelope invalidates the view and all borrowed fields exposed by its accessors.

See Also