ELinks 0.18.0
|
Functions | |
int | html_parse_meta_refresh (const char *content, unsigned long *delay, char **url) |
Parses a <meta http-equiv="refresh" content="..."> element. |
int html_parse_meta_refresh | ( | const char * | content, |
unsigned long * | delay, | ||
char ** | url ) |
Parses a <meta http-equiv="refresh" content="..."> element.
[in] | content | The value of the content attribute, with entities already expanded. |
[out] | delay | How many seconds to wait before refreshing. |
[out] | url | The URI to load when refreshing, or NULL to reload the same document. The caller must free the string with mem_free() unless it's NULL. |