mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-02 11:23:41 +01:00
Modules: add init and destroy option callbacks to module info
This commit is contained in:
@@ -142,6 +142,8 @@ exit:
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_DNS_MODULE_NAME,
|
||||
.description = "Print configured DNS servers",
|
||||
.initOptions = (void*) ffInitDNSOptions,
|
||||
.destroyOptions = (void*) ffDestroyDNSOptions,
|
||||
.parseJsonObject = (void*) ffParseDNSJsonObject,
|
||||
.printModule = (void*) ffPrintDNS,
|
||||
.generateJsonResult = (void*) ffGenerateDNSJsonResult,
|
||||
|
||||
Reference in New Issue
Block a user