GALANTHUS / ABI FUNCTION REFERENCE
gln_get_backend_provider_name
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);
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.
| Type | Nullability | Ownership |
|---|---|---|
const char* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_backend | input | const gln_backend_t* | nullable | borrowed |
Notes
Passing NULL for in_backend is allowed and returns NULL.