mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-05 20:54:21 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -100,6 +100,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_BOOTMGR_MODULE_NAME,
|
||||
.description = "Print information of 2nd-stage bootloader (name, firmware, etc)",
|
||||
.initOptions = (void*) ffInitBootmgrOptions,
|
||||
.destroyOptions = (void*) ffDestroyBootmgrOptions,
|
||||
.parseJsonObject = (void*) ffParseBootmgrJsonObject,
|
||||
.printModule = (void*) ffPrintBootmgr,
|
||||
.generateJsonResult = (void*) ffGenerateBootmgrJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user