GDB (xrefs)
Functions
gdb_vecs.c File Reference
#include "common-defs.h"
#include "gdb_vecs.h"
#include "host-defs.h"

Go to the source code of this file.

Functions

void free_char_ptr_vec (VEC(char_ptr)*char_ptr_vec)
 
static void delim_string_to_char_ptr_vec_append (VEC(char_ptr)**vecp, const char *str, char delimiter)
 
 VEC (char_ptr)
 
void dirnames_to_char_ptr_vec_append (VEC(char_ptr)**vecp, const char *dirnames)
 

Function Documentation

static void delim_string_to_char_ptr_vec_append ( VEC(char_ptr)**  vecp,
const char *  str,
char  delimiter 
)
static

Definition at line 46 of file gdb_vecs.c.

References VEC_safe_push, and xmalloc().

Referenced by dirnames_to_char_ptr_vec_append(), and VEC().

void dirnames_to_char_ptr_vec_append ( VEC(char_ptr)**  vecp,
const char *  dirnames 
)

Definition at line 93 of file gdb_vecs.c.

References delim_string_to_char_ptr_vec_append(), and DIRNAME_SEPARATOR.

Referenced by add_path(), and VEC().

void free_char_ptr_vec ( VEC(char_ptr)*  char_ptr_vec)
VEC ( char_ptr  )

Definition at line 78 of file gdb_vecs.c.

References delim_string_to_char_ptr_vec_append().

Referenced by VEC().