mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -229,6 +229,8 @@ void ffGeneratePhysicalDiskJsonResult(FFPhysicalDiskOptions* options, yyjson_mut
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_PHYSICALDISK_MODULE_NAME,
|
||||
.description = "Print physical disk information",
|
||||
.initOptions = (void*) ffInitPhysicalDiskOptions,
|
||||
.destroyOptions = (void*) ffDestroyPhysicalDiskOptions,
|
||||
.parseJsonObject = (void*) ffParsePhysicalDiskJsonObject,
|
||||
.printModule = (void*) ffPrintPhysicalDisk,
|
||||
.generateJsonResult = (void*) ffGeneratePhysicalDiskJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user