diff options
| author | sumuel <samuel@yakubos.org> | 2026-08-17 20:44:55 +0000 |
|---|---|---|
| committer | sumuel <samuel@yakubos.org> | 2026-08-17 20:44:55 +0000 |
| commit | 76424950e373d3b04ac3dd13019151bfba3e8423 (patch) | |
| tree | 4c3cfdbda039e592b9186be3e28f8d7cfd439e8a /src/detection/zpool/zpool.h | |
Add the files
Diffstat (limited to 'src/detection/zpool/zpool.h')
| -rw-r--r-- | src/detection/zpool/zpool.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/detection/zpool/zpool.h b/src/detection/zpool/zpool.h new file mode 100644 index 0000000..2e6523f --- /dev/null +++ b/src/detection/zpool/zpool.h @@ -0,0 +1,17 @@ +#pragma once + +#include "fastfetch.h" +#include "modules/zpool/option.h" + +typedef struct FFZpoolResult { + FFstrbuf name; + FFstrbuf state; + uint64_t guid; + uint64_t used; + uint64_t total; + uint64_t allocated; + double fragmentation; + bool readOnly; +} FFZpoolResult; + +const char* ffDetectZpool(FFlist* result /* list of FFZpoolResult */); |