2023-03-07 14:56:13 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
|
2023-03-15 16:54:50 +08:00
|
|
|
#define FF_OS_MODULE_NAME "OS"
|
|
|
|
|
|
2023-06-24 10:59:53 +08:00
|
|
|
void ffPrintOS(FFOSOptions* options);
|
2023-03-07 14:56:13 +08:00
|
|
|
void ffInitOSOptions(FFOSOptions* options);
|
|
|
|
|
bool ffParseOSCommandOptions(FFOSOptions* options, const char* key, const char* value);
|
|
|
|
|
void ffDestroyOSOptions(FFOSOptions* options);
|
2023-08-17 10:56:54 +08:00
|
|
|
void ffParseOSJsonObject(FFOSOptions* options, yyjson_val* module);
|
2023-09-07 09:36:04 +08:00
|
|
|
void ffGenerateOSJson(FFOSOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module);
|
2023-10-07 13:40:40 +08:00
|
|
|
void ffPrintOSHelpFormat(void);
|