X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/c57717aea24be2ff4ed8c9b095ae74f3a3220de1..2991f097fb98cfaf1a0ebd5048fc0e8bc08aa20d:/Plugson/src/Core/ventoy_util.h diff --git a/Plugson/src/Core/ventoy_util.h b/Plugson/src/Core/ventoy_util.h index 357dccc..769c42f 100644 --- a/Plugson/src/Core/ventoy_util.h +++ b/Plugson/src/Core/ventoy_util.h @@ -88,6 +88,7 @@ typedef struct SYSINFO char buildtime[128]; int syntax_error; int invalid_config; + int config_save_error; int language; int pathcase; @@ -198,6 +199,8 @@ extern unsigned char *g_unxz_buffer; extern int g_unxz_len; void unxz_error(char *x); int unxz_flush(void *src, unsigned int size); +char * ventoy_base64_encode(const char *data, int input_length, int *output_length); +size_t utf8_to_utf16(const unsigned char * utf8, size_t utf8_len, unsigned short* utf16, size_t utf16_len); #endif /* __VENTOY_UTIL_H__ */