summaryrefslogtreecommitdiffstats
path: root/src/detection/memory/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/detection/memory/memory.h')
-rw-r--r--src/detection/memory/memory.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/detection/memory/memory.h b/src/detection/memory/memory.h
new file mode 100644
index 0000000..1c23828
--- /dev/null
+++ b/src/detection/memory/memory.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "fastfetch.h"
+#include "modules/memory/option.h"
+
+typedef struct FFMemoryResult {
+ uint64_t bytesUsed;
+ uint64_t bytesTotal;
+} FFMemoryResult;
+
+const char* ffDetectMemory(FFMemoryResult* ram);