summaryrefslogtreecommitdiffstats
path: root/discover/grub2/grub2.h
diff options
context:
space:
mode:
Diffstat (limited to 'discover/grub2/grub2.h')
-rw-r--r--discover/grub2/grub2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/grub2/grub2.h b/discover/grub2/grub2.h
index f3ad2e5..33180d4 100644
--- a/discover/grub2/grub2.h
+++ b/discover/grub2/grub2.h
@@ -1,6 +1,7 @@
#ifndef GRUB2_H
#define GRUB2_H
+#include <regex.h>
#include <stdbool.h>
#include <list/list.h>
@@ -57,6 +58,8 @@ struct grub2_statement_block {
struct grub2_script {
struct grub2_statements *statements;
+ struct list environment;
+ regex_t var_re;
};
struct grub2_parser {
OpenPOWER on IntegriCloud