Macro in ldk_entity.h

LDK_ENTITY_NAME_MAX_LEN

#define LDK_ENTITY_NAME_MAX_LEN 32
Function in ldk_entity.h

ldk_entity_name_hash

Compute an entity name hash.

LDK_API u64 ldk_entity_name_hash(const char *name);

Parameters

const char *name
Name identifying the object or setting.

Returns

Computed identifier or hash.

Function in ldk_entity.h

ldk_entity_name_hash_set

Set the entity name hash.

LDK_API bool ldk_entity_name_hash_set(
 LDKEntityRegistry *registry,
 LDKEntity entity,
 u64 hash
);

Parameters

LDKEntityRegistry *registry
Registry on which the operation is performed.
LDKEntity entity
Entity to inspect or modify.
u64 hash
Hash used by this operation.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_entity.h

ldk_entity_name_set

Set the entity name.

LDK_API bool ldk_entity_name_set(
 LDKEntityRegistry *system,
 LDKEntity entity,
 const char *name
);

Parameters

LDKEntityRegistry *system
System used by this operation.
LDKEntity entity
Entity to inspect or modify.
const char *name
Name identifying the object or setting.

Returns

True if the operation succeeds; false otherwise.