mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
c888254f70
Also fix some bugs found when refactoring
14 lines
454 B
C
14 lines
454 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
|
|
#define FF_CPUUSAGE_MODULE_NAME "CPUUsage"
|
|
|
|
void ffPrepareCPUUsage();
|
|
|
|
void ffPrintCPUUsage(FFCPUUsageOptions* options);
|
|
void ffInitCPUUsageOptions(FFCPUUsageOptions* options);
|
|
bool ffParseCPUUsageCommandOptions(FFCPUUsageOptions* options, const char* key, const char* value);
|
|
void ffDestroyCPUUsageOptions(FFCPUUsageOptions* options);
|
|
void ffParseCPUUsageJsonObject(FFCPUUsageOptions* options, yyjson_val* module);
|