2023-03-10 11:26:53 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
|
2023-03-15 16:54:50 +08:00
|
|
|
#define FF_HOST_MODULE_NAME "Host"
|
|
|
|
|
|
2023-03-10 11:26:53 +08:00
|
|
|
void ffPrintHost(FFinstance* instance, FFHostOptions* options);
|
|
|
|
|
void ffInitHostOptions(FFHostOptions* options);
|
|
|
|
|
bool ffParseHostCommandOptions(FFHostOptions* options, const char* key, const char* value);
|
|
|
|
|
void ffDestroyHostOptions(FFHostOptions* 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 ffParseHostJsonObject(FFinstance* instance, json_object* module);
|
2023-03-10 11:26:53 +08:00
|
|
|
#endif
|