summaryrefslogtreecommitdiffstats
path: root/src/detection/bootmgr/bootmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/detection/bootmgr/bootmgr.h')
-rw-r--r--src/detection/bootmgr/bootmgr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/detection/bootmgr/bootmgr.h b/src/detection/bootmgr/bootmgr.h
new file mode 100644
index 0000000..055b0ee
--- /dev/null
+++ b/src/detection/bootmgr/bootmgr.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "fastfetch.h"
+#include "modules/bootmgr/option.h"
+
+typedef struct FFBootmgrResult {
+ FFstrbuf name;
+ FFstrbuf firmware;
+ uint16_t order;
+ bool secureBoot;
+} FFBootmgrResult;
+
+const char* ffDetectBootmgr(FFBootmgrResult* bios);