LDK_ENTITY_NAME_MAX_LEN
#define LDK_ENTITY_NAME_MAX_LEN 32
#define LDK_ENTITY_NAME_MAX_LEN 32
Get the entity name.
LDK_API const char * ldk_entity_name_get(
LDKEntityRegistry *system,
LDKEntity entity
);
LDKEntityRegistry *systemLDKEntity entityPointer to the requested object or data; NULL when unavailable.
Compute an entity name hash.
LDK_API u64 ldk_entity_name_hash(const char *name);
const char *nameComputed identifier or hash.
Get the entity name hash.
LDK_API u64 ldk_entity_name_hash_get(
LDKEntityRegistry *registry,
LDKEntity entity
);
LDKEntityRegistry *registryLDKEntity entityComputed identifier or hash.
Set the entity name hash.
LDK_API bool ldk_entity_name_hash_set(
LDKEntityRegistry *registry,
LDKEntity entity,
u64 hash
);
LDKEntityRegistry *registryLDKEntity entityu64 hashTrue if the operation succeeds; false otherwise.
Set the entity name.
LDK_API bool ldk_entity_name_set(
LDKEntityRegistry *system,
LDKEntity entity,
const char *name
);
LDKEntityRegistry *systemLDKEntity entityconst char *nameTrue if the operation succeeds; false otherwise.