GALANTHUS / ABI FUNCTION REFERENCE
gln_get_backend_kind
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API gln_backend_kind_t GLN_CALL gln_get_backend_kind(const gln_backend_t* in_backend);
Purpose
Returns the provider family for an open backend handle.
Return
Returns the provider family for in_backend, or GLN_BACKEND_KIND_UNKNOWN when in_backend is NULL.
| Type | Nullability | Ownership |
|---|---|---|
gln_backend_kind_t | value | value |
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 GLN_BACKEND_KIND_UNKNOWN.