]> wimlib.net Git - wimlib/blobdiff - programs/imagex-win32.h
Generalized support for referencing resources in external WIMs
[wimlib] / programs / imagex-win32.h
index 0d5f5ad2a4a446e56ffa4f98193c6b8e5b5fb47b..bf1d2a7f0979df29d9abd7851c6d96234914a917 100644 (file)
@@ -5,40 +5,6 @@
 #include <stdbool.h>
 #include <wchar.h>
 
-typedef struct {
-       size_t    gl_pathc;
-       wchar_t **gl_pathv;
-       size_t    gl_offs;
-} glob_t;
-
-/* WARNING: this is a reduced functionality replacement */
-extern int
-win32_wglob(const wchar_t *pattern, int flags,
-           int (*errfunc)(const wchar_t *epath, int eerrno),
-           glob_t *pglob);
-
-extern void globfree(glob_t *pglob);
-
-#define        GLOB_ERR        0x1 /* Return on read errors.  */
-#define        GLOB_NOSORT     0x2 /* Don't sort the names.  */
-
-/* Error returns from `glob'.  */
-#define        GLOB_NOSPACE    1       /* Ran out of memory.  */
-#define        GLOB_ABORTED    2       /* Read error.  */
-#define        GLOB_NOMATCH    3       /* No matches found.  */
-
-extern void
-win32_acquire_capture_privileges(void);
-
-extern void
-win32_release_capture_privileges(void);
-
-extern void
-win32_acquire_restore_privileges(void);
-
-extern void
-win32_release_restore_privileges(void);
-
 extern wchar_t *
 win32_mbs_to_wcs(const char *mbs, size_t mbs_nbytes, size_t *num_wchars_ret);