]> wimlib.net Git - wimlib/blob - programs/imagex-win32.h
wimlib-imagex: add options to enable unsafe compaction
[wimlib] / programs / imagex-win32.h
1 #ifndef _IMAGEX_WIN32_H
2 #define _IMAGEX_WIN32_H
3
4 #include <stddef.h>
5 #include <stdbool.h>
6 #include <inttypes.h>
7 #include <wchar.h>
8
9 extern wchar_t *
10 win32_mbs_to_wcs(const char *mbs, size_t mbs_nbytes, size_t *num_wchars_ret);
11
12 extern void
13 win32_print_security_descriptor(const uint8_t *sd, size_t size);
14
15 extern void
16 set_fd_to_binary_mode(int fd);
17
18 #include "wgetopt.h"
19
20 #define optarg                  woptarg
21 #define optind                  woptind
22 #define opterr                  wopterr
23 #define optopt                  woptopt
24 #define option                  woption
25
26 #define getopt_long_only        wgetopt_long_only
27 #define getopt_long             wgetopt_long
28 #define getopt                  wgetopt
29
30 #endif