Skip to content

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

GLN_API void GLN_CALL gln_close_backend(gln_backend_t* in_backend);
  • Family: Destroy and release functions
  • Return type: void

Purpose

Releases a caller-owned backend handle and backend-owned resources attached to it.

Return

Returns no value.

TypeNullabilityOwnership
voidvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_backendinputgln_backend_t*nonnullborrowed

Notes

Passing NULL for in_backend is allowed and has no effect.

Closing a backend destroys the backend implementation object and its owned client resources. A FinTS backend also destroys the backend-owned PIN copy created during backend open.

Stores, token stores, key stores, and secrets that the caller passed into backend-open calls remain caller-owned unless that open call explicitly documented an internal copy.

Result envelopes already returned by backend operations are independently caller-owned and remain the caller's responsibility; destroy them with gln_destroy_backend_result.

See Also