OpenVPN
Functions
compat.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * dirname (char *str)
 
char * basename (char *str)
 
int daemon (int nochdir, int noclose)
 
const char * inet_ntop (int af, const void *src, char *dst, socklen_t size)
 
int inet_pton (int af, const char *src, void *dst)
 

Function Documentation

◆ basename()

char* basename ( char *  str)

Definition at line 39 of file compat-basename.c.

Referenced by init_options_dev().

◆ daemon()

int daemon ( int  nochdir,
int  noclose 
)

Definition at line 57 of file compat-daemon.c.

Referenced by daemonize(), possibly_become_daemon(), send_string(), and show_settings().

◆ dirname()

char* dirname ( char *  str)

Definition at line 64 of file compat-dirname.c.

References __memrchr().

Referenced by check_file_access().

◆ inet_ntop()

const char* inet_ntop ( int  af,
const void *  src,
char *  dst,
socklen_t  size 
)

Definition at line 46 of file compat-inet_ntop.c.

Referenced by print_in6_addr().

◆ inet_pton()

int inet_pton ( int  af,
const char *  src,
void *  dst 
)