-/**
- * @ingroup G_modifying_wims
- *
- * Changes what is written in the \<FLAGS\> element in the WIM XML data
- * (something like "Core" or "Ultimate")
- *
- * @param wim
- * Pointer to the ::WIMStruct for a WIM.
- * @param image
- * The number of the image for which to change the description.
- * @param flags
- * The new \<FLAGS\> element to give the image. It may be @c NULL, which
- * indicates that the image is to be given no \<FLAGS\> element.
- *
- * @return 0 on success; nonzero on error.
- * @retval ::WIMLIB_ERR_INVALID_IMAGE
- * @p image does not specify a single existing image in @p wim.
- * @retval ::WIMLIB_ERR_NOMEM
- * Failed to allocate the memory needed to duplicate the @p flags string.
- */
-extern int
-wimlib_set_image_flags(WIMStruct *wim, int image, const wimlib_tchar *flags);
-
-/**
- * @ingroup G_modifying_wims
- *
- * Changes the name of an image in the WIM.
- *
- * @param wim
- * Pointer to the ::WIMStruct for a WIM.
- * @param image
- * The number of the image for which to change the name.
- * @param name
- * New name to give the new image. If @c NULL or empty, the new image is
- * given no name. If nonempty, it must specify a name that does not
- * already exist in @p wim.
- *
- * @return 0 on success; nonzero on error.
- * @retval ::WIMLIB_ERR_IMAGE_NAME_COLLISION
- * There is already an image named @p name in @p wim.
- * @retval ::WIMLIB_ERR_INVALID_IMAGE
- * @p image does not specify a single existing image in @p wim.
- * @retval ::WIMLIB_ERR_NOMEM
- * Failed to allocate the memory needed to duplicate the @p name string.
- */
-extern int
-wimlib_set_image_name(WIMStruct *wim, int image, const wimlib_tchar *name);
-
-/**
- * @ingroup G_general
- *
- * Set the functions that wimlib uses to allocate and free memory.
- *
- * These settings are global and not per-WIM.
- *
- * The default is to use the default @c malloc() and @c free() from the C
- * library.
- *
- * Please note that some external functions, such as those in @c libntfs-3g, may
- * use the standard memory allocation functions regardless of this setting.
- *
- * @param malloc_func
- * A function equivalent to @c malloc() that wimlib will use to allocate
- * memory. If @c NULL, the allocator function is set back to the default
- * @c malloc() from the C library.
- * @param free_func
- * A function equivalent to @c free() that wimlib will use to free memory.
- * If @c NULL, the free function is set back to the default @c free() from
- * the C library.
- * @param realloc_func
- * A function equivalent to @c realloc() that wimlib will use to reallocate
- * memory. If @c NULL, the free function is set back to the default @c
- * realloc() from the C library.
- * @return 0
- */
-extern int
-wimlib_set_memory_allocator(void *(*malloc_func)(size_t),
- void (*free_func)(void *),
- void *(*realloc_func)(void *, size_t));
-
-/**
- * @ingroup G_general
- *
- * Sets whether wimlib is to print error messages to @c stderr when a function
- * fails. These error messages may provide information that cannot be
- * determined only from the error code that is returned. Not every error will
- * result in an error message being printed.
- *
- * This setting is global and not per-WIM.
- *
- * By default, error messages are not printed.
- *
- * This can be called before wimlib_global_init().
- *
- * @param show_messages
- * @c true if error messages are to be printed; @c false if error messages
- * are not to be printed.
- *
- * @return 0 on success; nonzero on error.
- * @retval ::WIMLIB_ERR_UNSUPPORTED
- * @p show_messages was @c true, but wimlib was compiled with the @c
- * --without-error-messages option. Therefore, error messages cannot be
- * shown.
- */
-extern int
-wimlib_set_print_errors(bool show_messages);
-