2023-03-10 14:14:32 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
|
2023-03-15 16:54:50 +08:00
|
|
|
#define FF_KERNEL_MODULE_NAME "Kernel"
|
|
|
|
|
|
2023-06-24 10:59:53 +08:00
|
|
|
void ffPrintKernel(FFKernelOptions* options);
|
2023-03-10 14:14:32 +08:00
|
|
|
void ffInitKernelOptions(FFKernelOptions* options);
|
|
|
|
|
bool ffParseKernelCommandOptions(FFKernelOptions* options, const char* key, const char* value);
|
|
|
|
|
void ffDestroyKernelOptions(FFKernelOptions* options);
|
2023-08-17 10:56:54 +08:00
|
|
|
void ffParseKernelJsonObject(FFKernelOptions* options, yyjson_val* module);
|
2023-09-05 16:09:46 +08:00
|
|
|
void ffGenerateKernelJson(FFKernelOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module);
|