LDKRoot
typedef struct LDKRoot LDKRoot;
typedef struct LDKRoot LDKRoot;
Process one engine frame.
LDK_API void ldk_engine_frame(void);
Initialize the engine.
LDK_API bool ldk_engine_initialize(const char *config_ini_path);
const char *config_ini_pathTrue if the operation succeeds; false otherwise.
Initialize the engine from a configuration supplied by the caller.
LDK_API bool ldk_engine_initialize_with_config(const LDKConfig *config);
const LDKConfig *configTrue if the operation succeeds; false otherwise.
Check whether the engine is initialized.
LDK_API bool ldk_engine_is_initialized(void);
True when the queried condition holds; false otherwise.
Enter the engine main loop and return its exit code.
LDK_API i32 ldk_engine_run(void);
Process or engine exit code.
Request termination of the engine main loop with an exit code.
LDK_API void ldk_engine_stop(i32 exit_code);
i32 exit_codeShut down the engine.
LDK_API void ldk_engine_terminate(void);