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/physicaldisk/physicaldisk.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/detection/physicaldisk/physicaldisk.h (limited to 'src/detection/physicaldisk/physicaldisk.h') diff --git a/src/detection/physicaldisk/physicaldisk.h b/src/detection/physicaldisk/physicaldisk.h new file mode 100644 index 0000000..3481063 --- /dev/null +++ b/src/detection/physicaldisk/physicaldisk.h @@ -0,0 +1,17 @@ +#include "fastfetch.h" +#include "modules/physicaldisk/option.h" + +#define FF_PHYSICALDISK_TEMP_UNSET (-DBL_MAX) + +typedef struct FFPhysicalDiskResult { + FFstrbuf name; + FFstrbuf interconnect; + FFstrbuf serial; + FFstrbuf devPath; + FFstrbuf revision; + FFPhysicalDiskType type; + uint64_t size; + double temperature; +} FFPhysicalDiskResult; + +const char* ffDetectPhysicalDisk(FFlist* result, FFPhysicalDiskOptions* options); -- cgit v1.2.3