X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/43e8ec57857e3786b40eb4208729e9fcf9826000..7fe4762faa1b10bfcbb888930159ae76b60ac94a:/LinuxGUI/Ventoy2Disk/Core/ventoy_util.h diff --git a/LinuxGUI/Ventoy2Disk/Core/ventoy_util.h b/LinuxGUI/Ventoy2Disk/Core/ventoy_util.h index eb09310..87bdbd5 100644 --- a/LinuxGUI/Ventoy2Disk/Core/ventoy_util.h +++ b/LinuxGUI/Ventoy2Disk/Core/ventoy_util.h @@ -20,6 +20,9 @@ #ifndef __VENTOY_UTIL_H__ #define __VENTOY_UTIL_H__ +extern char g_log_file[PATH_MAX]; +extern char g_ini_file[PATH_MAX]; + #define check_free(p) if (p) free(p) #define vtoy_safe_close_fd(fd) \ {\ @@ -46,7 +49,8 @@ int unxz(unsigned char *in, int in_size, int ventoy_read_file_to_buf(const char *FileName, int ExtLen, void **Bufer, int *BufLen); const char * ventoy_get_local_version(void); int ventoy_fill_gpt(uint64_t size, uint64_t reserve, int align4k, VTOY_GPT_INFO *gpt); -int ventoy_fill_mbr(uint64_t size, uint64_t reserve, int align4k, int PartStyle, MBR_HEAD *pMBR); +int ventoy_fill_mbr(uint64_t size, uint64_t reserve, int align4k, MBR_HEAD *pMBR); +int VentoyGetLocalBootImg(MBR_HEAD *pMBR); #endif /* __VENTOY_UTIL_H__ */