summaryrefslogtreecommitdiff
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/cgpt_params.h6
-rw-r--r--host/include/vboot_host.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/host/include/cgpt_params.h b/host/include/cgpt_params.h
index 7c4a4b29..5bd1f76a 100644
--- a/host/include/cgpt_params.h
+++ b/host/include/cgpt_params.h
@@ -48,6 +48,12 @@ typedef struct CgptAddParams {
int set_raw;
} CgptAddParams;
+typedef struct CgptEditParams {
+ char *drive_name;
+ Guid unique_guid;
+ int set_unique;
+} CgptEditParams;
+
typedef struct CgptShowParams {
char *drive_name;
uint64_t drive_size;
diff --git a/host/include/vboot_host.h b/host/include/vboot_host.h
index 9ebe4040..cb0d0f3c 100644
--- a/host/include/vboot_host.h
+++ b/host/include/vboot_host.h
@@ -19,6 +19,7 @@
/* partition table manipulation */
int CgptCreate(CgptCreateParams *params);
int CgptAdd(CgptAddParams *params);
+int CgptEdit(CgptEditParams *params);
int CgptSetAttributes(CgptAddParams *params);
int CgptGetPartitionDetails(CgptAddParams *params);
int CgptBoot(CgptBootParams *params);