Skip to content

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

GLN_API int GLN_CALL gln_get_tan_mode_decoupled(const gln_tan_mode_t* in_tan_mode);
  • Family: Row field accessors
  • Return type: int

Purpose

Reports whether a TAN mode row represents a decoupled TAN mechanism.

Return

Returns non-zero when the materialized mode is marked as decoupled approval by the bank data.

TypeNullabilityOwnership
intvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_tan_modeinputconst gln_tan_mode_t*nullableborrowed

TAN Mode Fields

Returns non-zero when the materialized mode is marked as decoupled approval by the bank data.

0 means either the row is absent or the materialized row is not marked decoupled. Validate the row pointer from gln_get_tan_mode_at first when that distinction matters.

Notes

Passing NULL for in_tan_mode is allowed and returns 0.

The return value is 1 for decoupled TAN modes and 0 for non-decoupled modes.

Callers that need to distinguish a missing row from a non-decoupled row should validate the row pointer returned by gln_get_tan_mode_at before calling this accessor.

See Also