mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -131,6 +131,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_BIOS_MODULE_NAME,
|
||||
.description = "Print information of 1st-stage bootloader (name, version, release date, etc)",
|
||||
.initOptions = (void*) ffInitBiosOptions,
|
||||
.destroyOptions = (void*) ffDestroyBiosOptions,
|
||||
.parseJsonObject = (void*) ffParseBiosJsonObject,
|
||||
.printModule = (void*) ffPrintBios,
|
||||
.generateJsonResult = (void*) ffGenerateBiosJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user