HomePort
Functions
value.c File Reference
Include dependency graph for value.c:

Go to the source code of this file.

Functions

hpd_error_t value_alloc (hpd_value_t **value, const char *body, int len)
 
hpd_error_t value_copy (hpd_value_t **dst, const hpd_value_t *src)
 
hpd_error_t value_first_header (const hpd_value_t *value, hpd_pair_t **pair)
 
hpd_error_t value_free (hpd_value_t *value)
 
hpd_error_t value_get_body (const hpd_value_t *value, const char **body, size_t *len)
 
hpd_error_t value_get_header (const hpd_value_t *value, const char *key, const char **val)
 
hpd_error_t value_get_headers_v (const hpd_value_t *value, va_list vp)
 
hpd_error_t value_next_header (hpd_pair_t **pair)
 
hpd_error_t value_set_header (hpd_value_t *value, const char *key, const char *val)
 
hpd_error_t value_set_headers_v (hpd_value_t *value, va_list vp)
 
hpd_error_t value_vallocf (hpd_value_t **value, const char *fmt, va_list vp)
 

Function Documentation

hpd_error_t value_alloc ( hpd_value_t **  value,
const char *  body,
int  len 
)

Definition at line 34 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_copy ( hpd_value_t **  dst,
const hpd_value_t src 
)

Definition at line 80 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_first_header ( const hpd_value_t value,
hpd_pair_t **  pair 
)

Definition at line 153 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_free ( hpd_value_t value)

Definition at line 99 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_get_body ( const hpd_value_t value,
const char **  body,
size_t *  len 
)

Definition at line 128 of file value.c.

Here is the caller graph for this function:

hpd_error_t value_get_header ( const hpd_value_t value,
const char *  key,
const char **  val 
)

Definition at line 135 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_get_headers_v ( const hpd_value_t value,
va_list  vp 
)

Definition at line 140 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_next_header ( hpd_pair_t **  pair)

Definition at line 158 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_set_header ( hpd_value_t value,
const char *  key,
const char *  val 
)

Definition at line 110 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_set_headers_v ( hpd_value_t value,
va_list  vp 
)

Definition at line 115 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t value_vallocf ( hpd_value_t **  value,
const char *  fmt,
va_list  vp 
)

Definition at line 55 of file value.c.

Here is the call graph for this function:

Here is the caller graph for this function: