diff options
Diffstat (limited to 'src/html-url.h')
-rw-r--r-- | src/html-url.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/html-url.h b/src/html-url.h index 11fab93..c492220 100644 --- a/src/html-url.h +++ b/src/html-url.h @@ -32,20 +32,21 @@ as that of the covered work. */ #define HTML_URL_H struct map_context { - char *text; /* HTML text. */ - char *base; /* Base URI of the document, possibly - changed through <base href=...>. */ - const char *parent_base; /* Base of the current document. */ - const char *document_file; /* File name of this document. */ - bool nofollow; /* whether NOFOLLOW was specified in a + char *text; /* HTML text. */ + char *base; /* Base URI of the document, possibly + changed through <base href=...>. */ + const char *parent_base; /* Base of the current document. */ + const char *document_file; /* File name of this document. */ + bool nofollow; /* whether NOFOLLOW was specified in a <meta name=robots> tag. */ - struct urlpos *head; /* List of URLs that is being built. */ + struct urlpos *head; /* List of URLs that is being built. */ }; struct urlpos *get_urls_file (const char *); struct urlpos *get_urls_html (const char *, const char *, bool *, struct iri *); struct urlpos *append_url (const char *, int, int, struct map_context *); void free_urlpos (struct urlpos *); +void cleanup_html_url (void); #endif /* HTML_URL_H */ |