1 #ifndef _IMAGEX_WIN32_H
2 #define _IMAGEX_WIN32_H
13 /* WARNING: this is a reduced functionality replacement */
14 extern int glob(const char *pattern, int flags,
15 int (*errfunc)(const char *epath, int eerrno),
18 extern void globfree(glob_t *pglob);
20 #define GLOB_ERR 0x1 /* Return on read errors. */
21 #define GLOB_NOSORT 0x2 /* Don't sort the names. */
23 /* Error returns from `glob'. */
24 #define GLOB_NOSPACE 1 /* Ran out of memory. */
25 #define GLOB_ABORTED 2 /* Read error. */
26 #define GLOB_NOMATCH 3 /* No matches found. */
29 win32_acquire_capture_privileges();
32 win32_release_capture_privileges();
35 win32_acquire_restore_privileges();
38 win32_release_restore_privileges();