]> wimlib.net Git - wimlib/blob - programs/imagex-win32.h
NEWS: fix typo
[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 wchar_t *
13 win32_wbasename(wchar_t *path);
14
15 extern void
16 win32_print_security_descriptor(const uint8_t *sd, size_t size);
17
18 extern void
19 set_fd_to_binary_mode(int fd);
20
21 #include "wgetopt.h"
22
23 #define optarg                  woptarg
24 #define optind                  woptind
25 #define opterr                  wopterr
26 #define optopt                  woptopt
27 #define option                  woption
28
29 #define getopt_long_only        wgetopt_long_only
30 #define getopt_long             wgetopt_long
31 #define getopt                  wgetopt
32
33 #endif