Modules: add init and destroy option callbacks to module info
This commit is contained in:
1 parent
582268f44f
commit
6f8d276545
74 files changed
+148
No files matched your search
@@ -177,6 +177,8 @@ void ffGenerateCPUUsageJsonResult(FFCPUUsageOptions* options, yyjson_mut_doc* do
|
||||
static FFModuleBaseInfo ffModuleInfo = {
|
||||
.name = FF_CPUUSAGE_MODULE_NAME,
|
||||
.description = "Print CPU usage. Costs some time to collect data",
|
||||
.initOptions = (void*) ffInitCPUUsageOptions,
|
||||
.destroyOptions = (void*) ffDestroyCPUUsageOptions,
|
||||
.parseJsonObject = (void*) ffParseCPUUsageJsonObject,
|
||||
.printModule = (void*) ffPrintCPUUsage,
|
||||
.generateJsonResult = (void*) ffGenerateCPUUsageJsonResult,
|
||||
|
||||
Reference in new issue
Block a user