aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prototypes.h')
-rw-r--r--src/prototypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prototypes.h b/src/prototypes.h
index 3b9bb81..11b0a69 100644
--- a/src/prototypes.h
+++ b/src/prototypes.h
@@ -15,7 +15,7 @@ GUID guid_random(void);
uint32_t crc32(uint32_t crc, const void *_buf, int len);
/* header.c */
void header_calc_crc(GPT_header *h);
-GPT_header header_new(GUID disk_guid, int lbas, int alt);
+GPT_header header_new(GUID disk_guid, uint64_t lbas, int alt);
uint32_t header_calc_ent_crc(DISK *d, GPT_header *h);
void header_show(DISK *d, GPT_header *h);
int header_validate(DISK *d, GPT_header *h);
@@ -28,6 +28,7 @@ DISK *disk_open(char *fn);
void disk_read(DISK *d, void *buf, uint64_t lba, int lbas);
void disk_write(DISK *d, void *buf, uint64_t lba, int lbas);
uint64_t disk_lbas(DISK *d);
+int disk_reread_kernel_table(DISK *d);
/* pmbr.c */
void mbr_entry_show(MBR_entry *e);
void mbr_show(MBR *m);