Files
fastfetch/src/modules/kernel/kernel.h
T
2023-09-05 16:10:28 +08:00

13 lines
501 B
C

#pragma once
#include "fastfetch.h"
#define FF_KERNEL_MODULE_NAME "Kernel"
void ffPrintKernel(FFKernelOptions* options);
void ffInitKernelOptions(FFKernelOptions* options);
bool ffParseKernelCommandOptions(FFKernelOptions* options, const char* key, const char* value);
void ffDestroyKernelOptions(FFKernelOptions* options);
void ffParseKernelJsonObject(FFKernelOptions* options, yyjson_val* module);
void ffGenerateKernelJson(FFKernelOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module);