Files
fastfetch/src/detection/physicaldisk/physicaldisk.h
T
2026-03-31 19:48:54 +08:00

18 lines
441 B
C

#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);