Make cryptodisk and diskfilter probe data retrievable programmatically
and not just printable.
This commit is contained in:
parent
24ca45125e
commit
bf25f87931
7 changed files with 40 additions and 19 deletions
|
@ -144,7 +144,9 @@ grub_err_t
|
|||
grub_cryptodisk_cheat_insert (grub_cryptodisk_t newdev, const char *name,
|
||||
grub_disk_t source, const char *cheat);
|
||||
void
|
||||
grub_util_cryptodisk_print_abstraction (grub_disk_t disk);
|
||||
grub_util_cryptodisk_get_abstraction (grub_disk_t disk,
|
||||
void (*cb) (const char *val));
|
||||
|
||||
char *
|
||||
grub_util_get_geli_uuid (const char *dev);
|
||||
#endif
|
||||
|
|
|
@ -201,7 +201,8 @@ struct grub_diskfilter_pv *
|
|||
grub_diskfilter_get_pv_from_disk (grub_disk_t disk,
|
||||
struct grub_diskfilter_vg **vg);
|
||||
void
|
||||
grub_diskfilter_print_partmap (grub_disk_t disk);
|
||||
grub_diskfilter_get_partmap (grub_disk_t disk,
|
||||
void (*cb) (const char *val));
|
||||
#endif
|
||||
|
||||
#endif /* ! GRUB_RAID_H */
|
||||
|
|
|
@ -65,7 +65,8 @@ ssize_t grub_util_fd_read (grub_util_fd_t fd, char *buf, size_t len);
|
|||
ssize_t grub_util_fd_write (grub_util_fd_t fd, const char *buf, size_t len);
|
||||
grub_err_t
|
||||
grub_cryptodisk_cheat_mount (const char *sourcedev, const char *cheat);
|
||||
void grub_util_cryptodisk_print_uuid (grub_disk_t disk);
|
||||
const char *
|
||||
grub_util_cryptodisk_get_uuid (grub_disk_t disk);
|
||||
char *
|
||||
grub_util_get_ldm (grub_disk_t disk, grub_disk_addr_t start);
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue