mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -101,6 +101,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_INITSYSTEM_MODULE_NAME,
|
||||
.description = "Print init system (pid 1) name and version",
|
||||
.initOptions = (void*) ffInitInitSystemOptions,
|
||||
.destroyOptions = (void*) ffDestroyInitSystemOptions,
|
||||
.parseJsonObject = (void*) ffParseInitSystemJsonObject,
|
||||
.printModule = (void*) ffPrintInitSystem,
|
||||
.generateJsonResult = (void*) ffGenerateInitSystemJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user