mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
24 lines
558 B
C
24 lines
558 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFCustomValue
|
|
{
|
|
bool printKey;
|
|
FFstrbuf key;
|
|
FFstrbuf value;
|
|
} FFCustomValue;
|
|
|
|
// Things only needed by fastfetch
|
|
typedef struct FFdata
|
|
{
|
|
FFstrbuf structure;
|
|
FFlist customValues; // List of FFCustomValue
|
|
bool configLoaded;
|
|
} FFdata;
|
|
|
|
bool ffParseModuleOptions(const char* key, const char* value);
|
|
void ffPrepareCommandOption(FFdata* data);
|
|
void ffPrintCommandOption(FFdata* data, yyjson_mut_doc* jsonDoc);
|
|
void ffMigrateCommandOptionToJsonc(FFdata* data, yyjson_mut_doc* jsonDoc);
|