summaryrefslogtreecommitdiffstats
path: root/src/detection/swap/swap.h
blob: eb32f7590a39bb9c79cad93950cb8ba92ba3949c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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 */);