X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhtml-url.h;h=c49222073b9b3832b0919f3cc63225169042eb1f;hp=42b67c2f53e72bc2422b11ff6cf294664d0ff727;hb=HEAD;hpb=4f53c20e27f4e6db75aef4c7ea2812330d48017c
diff --git a/src/html-url.h b/src/html-url.h
index 42b67c2f..c4922207 100644
--- a/src/html-url.h
+++ b/src/html-url.h
@@ -1,5 +1,6 @@
/* Declarations for html-url.c.
- Copyright (C) 1995, 1996, 1997, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 2009, 2010, 2011 Free Software
+ Foundation, Inc.
This file is part of GNU Wget.
@@ -31,21 +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 . */
- 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 . */
+ 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
tag. */
- struct urlpos *head, *tail; /* 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 */