Struct in ldk.h

LDKRoot

typedef struct LDKRoot LDKRoot;
Function in ldk.h

ldk_engine_frame

Process one engine frame.

LDK_API void ldk_engine_frame(void);
Function in ldk.h

ldk_engine_initialize

Initialize the engine.

LDK_API bool ldk_engine_initialize(const char *config_ini_path);

Parameters

const char *config_ini_path
Path to the engine configuration INI.

Returns

True if the operation succeeds; false otherwise.

Function in ldk.h

ldk_engine_initialize_with_config

Initialize the engine from a configuration supplied by the caller.

LDK_API bool ldk_engine_initialize_with_config(const LDKConfig *config);

Parameters

const LDKConfig *config
Configuration for this operation.

Returns

True if the operation succeeds; false otherwise.

Function in ldk.h

ldk_engine_is_initialized

Check whether the engine is initialized.

LDK_API bool ldk_engine_is_initialized(void);

Returns

True when the queried condition holds; false otherwise.

Function in ldk.h

ldk_engine_run

Enter the engine main loop and return its exit code.

LDK_API i32 ldk_engine_run(void);

Returns

Process or engine exit code.

Function in ldk.h

ldk_engine_stop

Request termination of the engine main loop with an exit code.

LDK_API void ldk_engine_stop(i32 exit_code);

Parameters

i32 exit_code
Exit code used by this operation.
Function in ldk.h

ldk_engine_terminate

Shut down the engine.

LDK_API void ldk_engine_terminate(void);