OpenVPN
Functions
win32-util.c File Reference
#include "syshead.h"
#include "buffer.h"
#include "win32-util.h"
Include dependency graph for win32-util.c:

Go to the source code of this file.

Functions

WCHAR * wide_string (const char *utf8, struct gc_arena *gc)
 
static bool cmp_prefix (const char *str, const bool n, const char *pre)
 
bool win_safe_filename (const char *fn)
 

Function Documentation

◆ cmp_prefix()

static bool cmp_prefix ( const char *  str,
const bool  n,
const char *  pre 
)
static

Definition at line 64 of file win32-util.c.

Referenced by win_safe_filename().

◆ wide_string()

WCHAR* wide_string ( const char *  utf8,
struct gc_arena gc 
)

◆ win_safe_filename()

bool win_safe_filename ( const char *  fn)

Definition at line 105 of file win32-util.c.

References cmp_prefix().

Referenced by platform_gen_path().