1 #ifndef EL__DOCUMENT_HTML_PARSE_META_REFRESH_H
2 #define EL__DOCUMENT_HTML_PARSE_META_REFRESH_H
4 /** Parses a \<meta http-equiv="refresh" content="..."> element.
7 * The value of the content attribute, with entities already expanded.
9 * How many seconds to wait before refreshing.
11 * The URI to load when refreshing, or NULL to reload the same document.
12 * The caller must free the string with mem_free() unless it's NULL.
15 * 0 if successful, or negative on error.
16 * On error, *@a url is NULL. */
17 int html_parse_meta_refresh(const unsigned char *content
,