Skip to content

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

GLN_API const char* GLN_CALL gln_get_backend_provider_name(const gln_backend_t* in_backend);
  • Family: Backend handle accessors
  • Return type: const char*

Purpose

Returns the provider name string for an open backend handle.

The returned string is borrowed from the backend and remains valid until gln_close_backend releases that backend; callers must not free it.

Return

Returns the borrowed provider-name string for in_backend, or NULL when in_backend is NULL.

TypeNullabilityOwnership
const char*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_backendinputconst gln_backend_t*nullableborrowed

Notes

Passing NULL for in_backend is allowed and returns NULL.

See Also