diff options
Diffstat (limited to 'src/detection/swap/swap.h')
| -rw-r--r-- | src/detection/swap/swap.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/detection/swap/swap.h b/src/detection/swap/swap.h new file mode 100644 index 0000000..eb32f75 --- /dev/null +++ b/src/detection/swap/swap.h @@ -0,0 +1,12 @@ +#pragma once + +#include "fastfetch.h" +#include "modules/swap/option.h" + +typedef struct FFSwapResult { + FFstrbuf name; + uint64_t bytesUsed; + uint64_t bytesTotal; +} FFSwapResult; + +const char* ffDetectSwap(FFlist* result /* List of FFSwapResult */); |