summaryrefslogtreecommitdiff
path: root/cgpt/cgpt_params.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgpt/cgpt_params.h')
-rw-r--r--cgpt/cgpt_params.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgpt/cgpt_params.h b/cgpt/cgpt_params.h
index 22af9626..fcee03c4 100644
--- a/cgpt/cgpt_params.h
+++ b/cgpt/cgpt_params.h
@@ -92,6 +92,11 @@ typedef struct CgptFindParams {
int match_partnum; // 0 for no match, 1-N for match
} CgptFindParams;
+typedef struct CgptLegacyParams {
+ char *drive_name;
+ int efipart;
+} CgptLegacyParams;
+
// create related methods.
int cgpt_create(CgptCreateParams *params);
@@ -116,4 +121,8 @@ int cgpt_prioritize(CgptPrioritizeParams *params);
// find related methods.
void cgpt_find(CgptFindParams *params);
+
+// legacy related methods.
+int cgpt_legacy(CgptLegacyParams *params);
+
#endif // VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_