GALANTHUS / ABI FUNCTION REFERENCE
gln_get_error_detail_status_parameter_count
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API size_t GLN_CALL gln_get_error_detail_status_parameter_count(
const gln_error_detail_t* in_detail,
size_t in_index);
Purpose
Returns the number of parameter strings stored on one status row in a FinTS rejected or common rejected error detail payload.
Return
Returns the number of rows or entries materialized in the supplied typed view.
| Type | Nullability | Ownership |
|---|---|---|
size_t | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_detail | input | const gln_error_detail_t* | nullable | borrowed |
in_index | input | size_t | value | value |
Notes
Passing NULL for in_detail is allowed and returns 0.
The accessor returns 0 for detail kinds other than GLN_ERROR_DETAIL_FINTS_REJECTED or GLN_ERROR_DETAIL_COMMON_REJECTED, and when in_index is outside gln_get_error_detail_status_count(in_detail).
Use this count as the exclusive upper bound for gln_get_error_detail_status_parameter_at.