/**
* @mainpage
*
- * This is the documentation for the library interface of wimlib 1.14.1, a C
+ * This is the documentation for the library interface of wimlib 1.14.4, a C
* library for creating, modifying, extracting, and mounting files in the
* Windows Imaging (WIM) format. This documentation is intended for developers
* only. If you have installed wimlib and want to know how to use the @b
#define WIMLIB_MINOR_VERSION 14
/** Patch version of the library (for example, the 5 in 1.2.5). */
-#define WIMLIB_PATCH_VERSION 1
+#define WIMLIB_PATCH_VERSION 4
#ifdef __cplusplus
extern "C" {
wimlib_progress_func_t progfunc,
void *progctx);
+/**
+ * @ingroup G_general
+ *
+ * Load a UTF-8 or UTF-16LE encoded text file into memory.
+ *
+ * @param path
+ * The path to the file, or NULL or "-" to use standard input.
+ * @param tstr_ret
+ * On success, a buffer containing the file's text as a "wimlib_tchar"
+ * string is returned here. The buffer must be freed using free().
+ * @param tstr_nchars_ret
+ * On success, the length of the text in "wimlib_tchar"s is returned here.
+ *
+ * @return 0 on success; a ::wimlib_error_code value on failure.
+ */
+WIMLIBAPI int
+wimlib_load_text_file(const wimlib_tchar *path,
+ wimlib_tchar **tstr_ret, size_t *tstr_nchars_ret);
/**
* @ingroup G_mounting_wim_images