2023-03-07 14:56:13 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
#include "modules/os/option.h"
|
|
|
|
|
|
|
|
|
|
void ffPrintOS(FFinstance* instance, FFOSOptions* options);
|
|
|
|
|
void ffInitOSOptions(FFOSOptions* options);
|
|
|
|
|
bool ffParseOSCommandOptions(FFOSOptions* options, const char* key, const char* value);
|
|
|
|
|
void ffDestroyOSOptions(FFOSOptions* options);
|
2023-03-09 16:14:08 +08:00
|
|
|
|
|
|
|
|
#ifdef FF_HAVE_JSONC
|
2023-03-15 15:24:40 +08:00
|
|
|
#include "common/jsonconfig.h"
|
|
|
|
|
bool ffParseOSJsonObject(FFinstance* instance, const char* type, json_object* module);
|
2023-03-09 16:14:08 +08:00
|
|
|
#endif
|