summaryrefslogtreecommitdiffstats
path: root/src/detection/chassis/chassis.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/detection/chassis/chassis.h')
-rw-r--r--src/detection/chassis/chassis.h14
1 files changed, 14 insertions, 0 deletions
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);