Skip to content

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

GLN_API int GLN_CALL gln_get_tan_medium_active(const gln_tan_medium_t* in_medium);
  • Family: Row field accessors
  • Return type: int

Purpose

Reports whether a TAN medium row is marked active by the bank response.

Return

Returns non-zero when the materialized TAN medium is marked active by the bank data.

TypeNullabilityOwnership
intvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_mediuminputconst gln_tan_medium_t*nullableborrowed

TAN Medium Fields

Returns non-zero when the materialized TAN medium is marked active by the bank data.

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

Notes

Passing NULL for in_medium is allowed and returns 0.

The return value is non-zero for active media and 0 for inactive media.

Callers that need to distinguish a missing row from an inactive row should validate the row pointer returned by gln_get_tan_medium_at before calling this accessor.

See Also