|
NetSurf
|
Go to the source code of this file.
Functions | |
| void | http___item_list_destroy (http__item *list) |
| Destructor for an item list. More... | |
| nserror | http___item_list_parse (const char **input, http__itemparser itemparser, http__item *first, http__item **items) |
| Parse a list of items. More... | |
| void http___item_list_destroy | ( | http__item * | list | ) |
Destructor for an item list.
| list | List to destroy |
Definition at line 29 of file generics.c.
References http__item::free, and http__item::next.
| nserror http___item_list_parse | ( | const char ** | input, |
| http__itemparser | itemparser, | ||
| http__item * | first, | ||
| http__item ** | items | ||
| ) |
Parse a list of items.
| input | Pointer to current input byte. Updated on exit. |
| itemparser | Pointer to function to parse list items |
| first | Pointer to first item, or NULL. |
| items | Pointer to location to receive on-heap parameter list. |
The returned list is owned by the caller
Definition at line 55 of file generics.c.
References http__item_list_destroy, http__skip_LWS(), items, http__item::next, NSERROR_NOT_FOUND, and NSERROR_OK.