From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/chassis/chassis.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/detection/chassis/chassis.h (limited to 'src/detection/chassis/chassis.h') diff --git a/src/detection/chassis/chassis.h b/src/detection/chassis/chassis.h new file mode 100644 index 0000000..4e57ad0 --- /dev/null +++ b/src/detection/chassis/chassis.h @@ -0,0 +1,14 @@ +#pragma once + +#include "fastfetch.h" +#include "modules/chassis/option.h" + +typedef struct FFChassisResult { + FFstrbuf type; + FFstrbuf serial; + FFstrbuf vendor; + FFstrbuf version; +} FFChassisResult; + +const char* ffDetectChassis(FFChassisResult* result); +const char* ffChassisTypeToString(uint32_t type); -- cgit v1.2.3