1#include "fastfetch.h"
2#include "modules/physicaldisk/option.h"
3
4#define FF_PHYSICALDISK_TEMP_UNSET (-DBL_MAX)
5
6typedef struct FFPhysicalDiskResult {
7 FFstrbuf name;
8 FFstrbuf interconnect;
9 FFstrbuf serial;
10 FFstrbuf devPath;
11 FFstrbuf revision;
12 FFPhysicalDiskType type;
13 uint64_t size;
14 double temperature;
15} FFPhysicalDiskResult;
16
17const char* ffDetectPhysicalDisk(FFlist* result, FFPhysicalDiskOptions* options);