mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 17:41:41 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -203,6 +203,8 @@ void ffGenerateBtrfsJsonResult(FF_MAYBE_UNUSED FFBtrfsOptions* options, yyjson_m
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_BTRFS_MODULE_NAME,
|
||||
.description = "Print Linux BTRFS volumes",
|
||||
.initOptions = (void*) ffInitBtrfsOptions,
|
||||
.destroyOptions = (void*) ffDestroyBtrfsOptions,
|
||||
.parseJsonObject = (void*) ffParseBtrfsJsonObject,
|
||||
.printModule = (void*) ffPrintBtrfs,
|
||||
.generateJsonResult = (void*) ffGenerateBtrfsJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user