-int imageboot_needed(void);
-void imageboot_setup(void);
-int imageboot_format_is_valid(const char *root_path);
-int imageboot_mount_image(const char *root_path, int height);
+typedef enum imageboot_type {
+ IMAGEBOOT_NONE,
+ IMAGEBOOT_DMG,
+ IMAGEBOOT_LOCKER,
+} imageboot_type_t;
+
+imageboot_type_t imageboot_needed(void);
+void imageboot_setup(imageboot_type_t type);
+int imageboot_format_is_valid(const char *root_path);
+int imageboot_mount_image(const char *root_path, int height, imageboot_type_t type);