]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - LinuxGUI/Ventoy2Disk/Core/ventoy_util.h
vtoyjump optimization.
[Ventoy.git] / LinuxGUI / Ventoy2Disk / Core / ventoy_util.h
index eb093106109ff2db6658ea115112d3d8090183a0..87bdbd5e784d9e89a623f2c1a2a7aaa2a5bfae25 100644 (file)
@@ -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__ */