Skip to content

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

GLN_API const char* GLN_CALL gln_get_account_product_name(const gln_account_t* in_account);
  • Family: Row field accessors
  • Return type: const char*

Purpose

Returns the provider-supplied account product name.

Return

Returns the provider-supplied product, account type, or display name stored on the row.

TypeNullabilityOwnership
const char*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_accountinputconst gln_account_t*nullableborrowed

Account Metadata

Returns the provider-supplied product, account type, or display name stored on the row.

An empty string means the source row did not provide a product name. Account identity is exposed by the dedicated identity accessors.

Notes

Passing NULL for in_account is allowed and returns NULL.

Rows returned by the matching _at accessor carry this field as part of the materialized typed result.

The returned pointer is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.

See Also