OpenVPN
|
Go to the source code of this file.
Functions | |
WCHAR * | wide_string (const char *utf8, struct gc_arena *gc) |
char * | utf16to8 (const wchar_t *utf16, struct gc_arena *gc) |
static bool | cmp_prefix (const char *str, const bool n, const char *pre) |
bool | win_safe_filename (const char *fn) |
const char * | win_get_tempdir (void) |
|
static |
Definition at line 77 of file win32-util.c.
Referenced by win_safe_filename().
char* utf16to8 | ( | const wchar_t * | utf16, |
struct gc_arena * | gc | ||
) |
Definition at line 50 of file win32-util.c.
References multi_instance::gc, and gc_malloc().
Referenced by strerror_win32().
WCHAR* wide_string | ( | const char * | utf8, |
struct gc_arena * | gc | ||
) |
Definition at line 41 of file win32-util.c.
References multi_instance::gc, and gc_malloc().
Referenced by openvpn_execve(), platform_access(), platform_chdir(), platform_fopen(), platform_open(), platform_stat(), platform_unlink(), plugin_init_item(), redirect_stdout_stderr(), route_ipv6_ipapi(), wide_cmd_line(), and win32_signal_open().
const char* win_get_tempdir | ( | void | ) |
Definition at line 152 of file win32-util.c.
Referenced by get_tmp_dir(), and init_options().
bool win_safe_filename | ( | const char * | fn | ) |
Definition at line 118 of file win32-util.c.
References cmp_prefix().
Referenced by platform_gen_path().