Typedef in ldk_os.h

LDKGCtx

typedef void *LDKGCtx;
Enum in ldk_os.h

LDKOSDialogResult

typedef enum{
  LDK_OS_DIALOG_RESULT_NONE=0,
  LDK_OS_DIALOG_RESULT_OK,
  LDK_OS_DIALOG_RESULT_CANCEL,
  LDK_OS_DIALOG_RESULT_YES,
  LDK_OS_DIALOG_RESULT_NO,
}LDKOSDialogResult;
Struct in ldk_os.h

LDKOSProcess

typedef struct LDKOSProcess LDKOSProcess;
Struct in ldk_os.h

LDKOSProcessDesc

typedef struct LDKOSProcessDesc{
  const char *executable;
  const char *arguments;
  const char *working_directory;
  bool new_console;
}LDKOSProcessDesc;
Struct in ldk_os.h

LDKOSProcessResult

typedef struct LDKOSProcessResult{
  bool started;
  bool completed;
  u32 exit_code;
  u32 os_error;
}LDKOSProcessResult;
Function in ldk_os.h

ldk_os_initialize

Initialize the OS.

LDK_API bool ldk_os_initialize(void);

Returns

True if the operation succeeds; false otherwise.

Function in ldk_os.h

ldk_os_terminate

Shut down the OS.

LDK_API void ldk_os_terminate(void);