Struct in ldk_package.h

LDKPackage

typedef struct LDKPackage LDKPackage;
Enum in ldk_package.h

LDKPackageCompression

typedef enum LDKPackageCompression{
  LDK_PACKAGE_COMPRESSION_NONE=0
}LDKPackageCompression;
Function in ldk_package.h

ldk_package_close

Close an open package and release its reader resources.

LDK_API void ldk_package_close(LDKPackage *package);

Parameters

LDKPackage *package
Opened package used by this operation.
Function in ldk_package.h

ldk_package_extract_all

Extract every package entry below the requested destination directory.

LDK_API bool ldk_package_extract_all(
 LDKPackage *package,
 const char *destination_directory
);

Parameters

LDKPackage *package
Opened package used by this operation.
const char *destination_directory
Filesystem directory where entries are extracted.

Returns

True if the operation succeeds; false otherwise.