Files
fastfetch/src/modules/os/os.h
T
李通洲 12208b2c7c Global: improve support of --help *-format
Also fix some bugs found when refactoring
2023-10-07 13:40:40 +08:00

14 lines
477 B
C

#pragma once
#include "fastfetch.h"
#define FF_OS_MODULE_NAME "OS"
void ffPrintOS(FFOSOptions* options);
void ffInitOSOptions(FFOSOptions* options);
bool ffParseOSCommandOptions(FFOSOptions* options, const char* key, const char* value);
void ffDestroyOSOptions(FFOSOptions* options);
void ffParseOSJsonObject(FFOSOptions* options, yyjson_val* module);
void ffGenerateOSJson(FFOSOptions* options, yyjson_mut_doc* doc, yyjson_mut_val* module);
void ffPrintOSHelpFormat(void);