]> wimlib.net Git - wimlib/blobdiff - src/win32.h
Replace _wcserror_s for Windows XP compatibility
[wimlib] / src / win32.h
index 59cab518bd8deea1739c80db16cc7387f4a60083..45909768e49a9c76e42d4240339bb1c13b0d9aa8 100644 (file)
@@ -10,7 +10,7 @@ win32_build_dentry_tree(struct wim_dentry **root_ret,
                        const tchar *root_disk_path,
                        struct wim_lookup_table *lookup_table,
                        struct sd_set *sd,
-                       const struct capture_config *config,
+                       const struct wimlib_capture_config *config,
                        int add_image_flags,
                        wimlib_progress_func_t progress_func,
                        void *extra_arg);
@@ -34,6 +34,7 @@ extern void win32_error_last();
 #endif
 
 #define FNM_PATHNAME 0x1
+#define FNM_NOESCAPE 0x2
 #define FNM_NOMATCH 1
 extern int
 fnmatch(const tchar *pattern, const tchar *string, int flags);
@@ -75,4 +76,7 @@ win32_global_init();
 extern void
 win32_global_cleanup();
 
+extern int
+win32_strerror_r_replacement(int errnum, tchar *buf, size_t buflen);
+
 #endif /* _WIMLIB_WIN32_H */