ucspi-ssl  0.99e
TLS encryption for IPv6 communication
Macros | Functions | Variables
stralloc.h File Reference
#include "gen_alloc.h"
Include dependency graph for stralloc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define stralloc_0(sa)   stralloc_append(sa,"")
 
#define stralloc_catlong(sa, l)   (stralloc_catlong0((sa),(l),0))
 
#define stralloc_catuint0(sa, i, n)   (stralloc_catulong0((sa),(i),(n)))
 
#define stralloc_catint0(sa, i, n)   (stralloc_catlong0((sa),(i),(n)))
 
#define stralloc_catint(sa, i)   (stralloc_catlong0((sa),(i),0))
 

Functions

 GEN_ALLOC_typedef (stralloc, char, s, len, a) extern int stralloc_ready(stralloc *
 
int stralloc_readyplus (stralloc *, unsigned int)
 
int stralloc_copy (stralloc *, const stralloc *)
 
int stralloc_cat (stralloc *, const stralloc *)
 
int stralloc_copys (stralloc *, const char *)
 
int stralloc_cats (stralloc *, const char *)
 
int stralloc_copyb (stralloc *, const char *, unsigned int)
 
int stralloc_catb (stralloc *, const char *, unsigned int)
 
int stralloc_append (stralloc *, const char *)
 
int stralloc_starts (stralloc *, const char *)
 
int stralloc_catulong0 (stralloc *, unsigned long, unsigned int)
 
int stralloc_catlong0 (stralloc *, long, unsigned int)
 

Variables

unsigned int
 

Macro Definition Documentation

◆ stralloc_0

#define stralloc_0 (   sa)    stralloc_append(sa,"")

Definition at line 21 of file stralloc.h.

◆ stralloc_catint

#define stralloc_catint (   sa,
 
)    (stralloc_catlong0((sa),(i),0))

Definition at line 29 of file stralloc.h.

◆ stralloc_catint0

#define stralloc_catint0 (   sa,
  i,
 
)    (stralloc_catlong0((sa),(i),(n)))

Definition at line 28 of file stralloc.h.

◆ stralloc_catlong

#define stralloc_catlong (   sa,
 
)    (stralloc_catlong0((sa),(l),0))

Definition at line 26 of file stralloc.h.

◆ stralloc_catuint0

#define stralloc_catuint0 (   sa,
  i,
 
)    (stralloc_catulong0((sa),(i),(n)))

Definition at line 27 of file stralloc.h.

Function Documentation

◆ GEN_ALLOC_typedef()

GEN_ALLOC_typedef ( stralloc  ,
char  ,
,
len  ,
 
)

◆ stralloc_append()

int stralloc_append ( stralloc *  ,
const char *   
)
Here is the caller graph for this function:

◆ stralloc_cat()

int stralloc_cat ( stralloc *  ,
const stralloc *   
)

Definition at line 6 of file stralloc_cat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stralloc_catb()

int stralloc_catb ( stralloc *  ,
const char *  ,
unsigned  int 
)

Definition at line 6 of file stralloc_catb.c.

Here is the caller graph for this function:

◆ stralloc_catlong0()

int stralloc_catlong0 ( stralloc *  ,
long  ,
unsigned  int 
)

◆ stralloc_cats()

int stralloc_cats ( stralloc *  ,
const char *   
)

Definition at line 7 of file stralloc_cats.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stralloc_catulong0()

int stralloc_catulong0 ( stralloc *  ,
unsigned  long,
unsigned  int 
)

◆ stralloc_copy()

int stralloc_copy ( stralloc *  ,
const stralloc *   
)

Definition at line 4 of file stralloc_copy.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stralloc_copyb()

int stralloc_copyb ( stralloc *  ,
const char *  ,
unsigned  int 
)

Definition at line 6 of file stralloc_opyb.c.

Here is the caller graph for this function:

◆ stralloc_copys()

int stralloc_copys ( stralloc *  ,
const char *   
)

Definition at line 7 of file stralloc_opys.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stralloc_readyplus()

int stralloc_readyplus ( stralloc *  ,
unsigned  int 
)
Here is the caller graph for this function:

◆ stralloc_starts()

int stralloc_starts ( stralloc *  ,
const char *   
)

Variable Documentation

◆ int

unsigned int

Definition at line 10 of file stralloc.h.