mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-09 00:10:12 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
21 lines
442 B
C
21 lines
442 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
#include "modules/host/option.h"
|
|
|
|
typedef struct FFHostResult {
|
|
FFstrbuf family;
|
|
FFstrbuf name;
|
|
FFstrbuf version;
|
|
FFstrbuf sku;
|
|
FFstrbuf serial;
|
|
FFstrbuf uuid;
|
|
FFstrbuf vendor;
|
|
} FFHostResult;
|
|
|
|
const char* ffHostGetMacProductNameWithHwModel(const FFstrbuf* hwModel);
|
|
#if __x86_64__
|
|
bool ffHostDetectMac(FFHostResult* host);
|
|
#endif
|
|
const char* ffDetectHost(FFHostResult* host);
|