OpenVPN
Data Structures | Functions
argv.h File Reference
#include "buffer.h"
Include dependency graph for argv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  argv
 

Functions

struct argv argv_new (void)
 
void argv_reset (struct argv *a)
 
const char * argv_str (const struct argv *a, struct gc_arena *gc, const unsigned int flags)
 
struct argv argv_insert_head (const struct argv *a, const char *head)
 
void argv_msg (const int msglev, const struct argv *a)
 
void argv_msg_prefix (const int msglev, const struct argv *a, const char *prefix)
 
void argv_parse_cmd (struct argv *a, const char *s)
 
void argv_printf (struct argv *a, const char *format,...)
 
void argv_printf_cat (struct argv *a, const char *format,...)
 

Function Documentation

◆ argv_insert_head()

struct argv argv_insert_head ( const struct argv a,
const char *  head 
)

◆ argv_msg()

void argv_msg ( const int  msglev,
const struct argv a 
)

◆ argv_msg_prefix()

void argv_msg_prefix ( const int  msglev,
const struct argv a,
const char *  prefix 
)

Definition at line 214 of file argv.c.

References argv_str(), gc_free(), gc_new(), and msg.

Referenced by netsh_command(), tls_crypt_v2_verify_metadata(), and verify_cert_call_command().

◆ argv_new()

struct argv argv_new ( void  )

◆ argv_parse_cmd()

void argv_parse_cmd ( struct argv a,
const char *  s 
)

◆ argv_printf()

void argv_printf ( struct argv a,
const char *  format,
  ... 
)

◆ argv_printf_cat()

void argv_printf_cat ( struct argv a,
const char *  format,
  ... 
)

◆ argv_reset()

void argv_reset ( struct argv a)

◆ argv_str()

const char* argv_str ( const struct argv a,
struct gc_arena gc,
const unsigned int  flags 
)

Definition at line 193 of file argv.c.

References argv::argv, and print_argv().

Referenced by argv_msg(), argv_msg_prefix(), and argv_str__multiple_argv__correct_output().