mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
18 lines
441 B
C
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);
|