Files
fastfetch/src/detection/physicaldisk/physicaldisk.h
T

18 lines
441 B
C
Raw Normal View History

2023-12-18 10:43:20 +08:00
#include "fastfetch.h"
#include "modules/physicaldisk/option.h"
2023-12-18 10:43:20 +08:00
2025-08-14 09:47:14 +08:00
#define FF_PHYSICALDISK_TEMP_UNSET (-DBL_MAX)
2023-12-26 19:23:26 +08:00
2026-03-29 09:28:49 +08:00
typedef struct FFPhysicalDiskResult {
2023-12-18 10:43:20 +08:00
FFstrbuf name;
FFstrbuf interconnect;
FFstrbuf serial;
FFstrbuf devPath;
FFstrbuf revision;
2023-12-18 10:43:20 +08:00
FFPhysicalDiskType type;
uint64_t size;
2023-12-26 19:23:26 +08:00
double temperature;
2023-12-18 10:43:20 +08:00
} FFPhysicalDiskResult;
const char* ffDetectPhysicalDisk(FFlist* result, FFPhysicalDiskOptions* options);