Functions | |
int | field_set (field_t *f, const char *name, const char *value) |
Set a field. | |
int | field_set_from_line (field_t *f, const char *ln) |
Set a field from a line. | |
const char * | field_get_name (field_t *f) |
Get the name of a field. | |
const char * | field_get_value (field_t *f) |
Get the value of a field. | |
int | field_create (const char *name, const char *value, field_t **pf) |
Create a field. | |
int | field_free (field_t *f) |
Free a field. |
|
Create a field from
Definition at line 144 of file field.c. References field_free(), field_t, field_s::name, and field_s::value. Referenced by header_set_field(), response_redirect(), and response_set_cookie(). |
|
Free field
Definition at line 178 of file field.c. References field_t, field_s::name, and field_s::value. Referenced by field_create(), header_clear(), header_set_field(), response_del_field(), and response_set_cookie(). |
|
Return the string value of field
Definition at line 110 of file field.c. References field_t, and field_s::name. Referenced by response_get_max_header_size(). |
|
Return the string value of field
Definition at line 126 of file field.c. References field_t, and field_s::value. Referenced by header_get_field_value(), and response_get_max_header_size(). |
|
Set field
Definition at line 34 of file field.c. References field_t, field_s::name, and field_s::value. Referenced by field_set_from_line(), and header_set_field(). |
|
Set the name and value of field
Definition at line 73 of file field.c. References field_set(), and field_t. |