Function in ldk_system.h

ldk_system_registry_is_paused

Check whether the system registry is paused.

LDK_API bool ldk_system_registry_is_paused(const LDKSystemRegistry *registry);

Parameters

const LDKSystemRegistry *registry
Registry on which the operation is performed.

Returns

True when the queried condition holds; false otherwise.

Function in ldk_system.h

ldk_system_registry_pause

Suspend/resume execution without terminating individual systems.

LDK_API bool ldk_system_registry_pause(LDKSystemRegistry *registry);

Parameters

LDKSystemRegistry *registry
Registry on which the operation is performed.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_system.h

ldk_system_registry_resume

Resume the system registry.

LDK_API bool ldk_system_registry_resume(LDKSystemRegistry *registry);

Parameters

LDKSystemRegistry *registry
Registry on which the operation is performed.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_system.h

ldk_system_registry_start

Prepare the bucket lists without initializing individual systems.

LDK_API bool ldk_system_registry_start(LDKSystemRegistry *registry);

Parameters

LDKSystemRegistry *registry
Registry on which the operation is performed.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_system.h

ldk_system_registry_stop

Terminate all active systems in reverse registration order and unprepare.

LDK_API bool ldk_system_registry_stop(LDKSystemRegistry *registry);

Parameters

LDKSystemRegistry *registry
Registry on which the operation is performed.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_system.h

ldk_system_registry_system_is_started

Check whether the system registry system is started.

LDK_API bool ldk_system_registry_system_is_started(
 const LDKSystemRegistry *registry,
 u64 id
);

Parameters

const LDKSystemRegistry *registry
Registry on which the operation is performed.
u64 id
Identifier of the target object.

Returns

True when the queried condition holds; false otherwise.

Function in ldk_system.h

ldk_system_registry_system_start

Start/stop a registered system without changing the bucket lists. Repeated start/stop calls succeed without repeating callbacks. A failed initialize callback is followed by terminate so partially initialized state can be released. A failed start leaves other systems unchanged. Stateful systems (data_size > 0) must have data bound before start.

LDK_API bool ldk_system_registry_system_start(
 LDKSystemRegistry *registry,
 u64 id
);

Parameters

LDKSystemRegistry *registry
Registry on which the operation is performed.
u64 id
Identifier of the target object.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_system.h

ldk_system_registry_system_stop

Stop the system registry system.

LDK_API bool ldk_system_registry_system_stop(
 LDKSystemRegistry *registry,
 u64 id
);

Parameters

LDKSystemRegistry *registry
Registry on which the operation is performed.
u64 id
Identifier of the target object.

Returns

True if the operation succeeds; false otherwise.