aboutsummaryrefslogtreecommitdiffstats
path: root/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout.h')
-rw-r--r--layout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/layout.h b/layout.h
index d60c89ee..2a0f8697 100644
--- a/layout.h
+++ b/layout.h
@@ -46,6 +46,8 @@ struct romentry {
struct flashrom_layout {
/* entries store the entries specified in a layout file and associated run-time data */
struct romentry *entries;
+ /* the maximum number of entries */
+ size_t capacity;
/* the number of successfully parsed entries */
size_t num_entries;
};