Go to the source code of this file.
Functions | |
| int | header_set_field (header_t *h, const char *name, const char *value) |
| int | header_clear (header_t *h) |
| size_t | header_field_count (header_t *h) |
| field_t * | header_get_fieldn (header_t *h, size_t idx) |
| field_t * | header_get_field (header_t *h, const char *name) |
| const char * | header_get_field_value (header_t *h, const char *name) |
| int | header_del_field (header_t *h, field_t *f) |
| int | header_add_field (header_t *h, field_t *f) |
| int | header_load_from_cgienv (header_t *h) |
| int | header_load_ex (header_t *h, io_t *io, int mode) |
| int | header_load (header_t *h, io_t *io) |
| int | header_create (header_t **ph) |
| int | header_free (header_t *h) |
|
||||||||||||
|
Add a field to a header.
Add a field
|
|
|
Clear a header.
Clear all items in header
|
|
|
|
|
||||||||||||
|
Delete a field from a header.
Delete the supplied field
|
|
|
Count fields in a header.
Return the number of fields in header
|
|
|
|
|
||||||||||||
|
Get a field given a name.
Return the first matching
|
|
||||||||||||
|
Get field value.
Return a string representation of the field with name
|
|
||||||||||||
|
Get ith field in a header.
Return the
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
Set the value of a field in a header.
Set the value of field
|