]> wimlib.net Git - wimlib/blobdiff - src/wim.c
Only allow default RPFIX for wimlib_extract_image{,_from_pipe}()
[wimlib] / src / wim.c
index febc68aac69bfd122dc55084ab173c1ebfc201e8..292f4cd7b92622c8e2583c2389ed2d956d1c8799 100644 (file)
--- a/src/wim.c
+++ b/src/wim.c
@@ -40,6 +40,7 @@
 #include "wimlib/xml.h"
 #include "wimlib/compressor_ops.h"
 #include "wimlib/decompressor_ops.h"
+#include "wimlib/version.h"
 
 #ifdef __WIN32__
 #  include "wimlib/win32.h" /* for realpath() replacement */
@@ -977,6 +978,13 @@ test_locale_ctype_utf8(void)
 #endif
 }
 
+/* API function documented in wimlib.h  */
+WIMLIBAPI u32
+wimlib_get_version(void)
+{
+       return WIMLIB_VERSION_CODE;
+}
+
 /* API function documented in wimlib.h  */
 WIMLIBAPI int
 wimlib_global_init(int init_flags)