2023-03-10 14:14:32 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
#include "modules/kernel/option.h"
|
|
|
|
|
|
2023-03-15 16:54:50 +08:00
|
|
|
#define FF_KERNEL_MODULE_NAME "Kernel"
|
|
|
|
|
|
2023-03-10 14:14:32 +08:00
|
|
|
void ffPrintKernel(FFinstance* instance, FFKernelOptions* options);
|
|
|
|
|
void ffInitKernelOptions(FFKernelOptions* options);
|
|
|
|
|
bool ffParseKernelCommandOptions(FFKernelOptions* options, const char* key, const char* value);
|
|
|
|
|
void ffDestroyKernelOptions(FFKernelOptions* options);
|
|
|
|
|
|
|
|
|
|
#ifdef FF_HAVE_JSONC
|
2023-03-15 15:24:40 +08:00
|
|
|
#include "common/jsonconfig.h"
|
2023-03-15 16:54:50 +08:00
|
|
|
void ffParseKernelJsonObject(FFinstance* instance, json_object* module);
|
2023-03-10 14:14:32 +08:00
|
|
|
#endif
|