31 while (list != NULL) {
59 const char *pos = *input;
60 const char separator = *pos;
67 while (*pos == separator) {
72 error = itemparser(&pos, &item);
88 }
else if (list == NULL) {
static html_css_fetcher_item * items
nserror
Enumeration of error codes.
@ NSERROR_NOT_FOUND
Requested item not found.
nserror http___item_list_parse(const char **input, http__itemparser itemparser, http__item *first, http__item **items)
Parse a list of items.
void http___item_list_destroy(http__item *list)
Destructor for an item list.
#define http__item_list_destroy(l)
nserror(* http__itemparser)(const char **input, http__item **item)
Type of an item parser.
void http__skip_LWS(const char **input)
Skip past linear whitespace in input.
Representation of an item.
void(* free)(struct http__item *self)
Item destructor.
struct http__item * next
Next item in list, or NULL.