diff options
| author | sumuel <samuel@yakubos.org> | 2026-08-17 20:44:55 +0000 |
|---|---|---|
| committer | sumuel <samuel@yakubos.org> | 2026-08-17 20:44:55 +0000 |
| commit | 76424950e373d3b04ac3dd13019151bfba3e8423 (patch) | |
| tree | 4c3cfdbda039e592b9186be3e28f8d7cfd439e8a /src/detection/host/host.h | |
Add the files
Diffstat (limited to 'src/detection/host/host.h')
| -rw-r--r-- | src/detection/host/host.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/detection/host/host.h b/src/detection/host/host.h new file mode 100644 index 0000000..a6fe3fb --- /dev/null +++ b/src/detection/host/host.h @@ -0,0 +1,20 @@ +#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); |