X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Frecur.h;h=d1312471cc702e4973f30d920521f364ba0bb1d3;hp=d2c8e6148a64a1eedb40691acd7805c684e1f828;hb=2f6aa1d7417df1dfc58597777686fbd77179b9fd;hpb=bc8f473272ec29b0d0021dbcab6ac561ddc6249d diff --git a/src/recur.h b/src/recur.h index d2c8e614..d1312471 100644 --- a/src/recur.h +++ b/src/recur.h @@ -1,6 +1,7 @@ /* Declarations for recur.c. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, + 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, + Inc. This file is part of GNU Wget. @@ -31,6 +32,8 @@ as that of the covered work. */ #ifndef RECUR_H #define RECUR_H +#include "url.h" + /* For most options, 0 means no limits, but with -p in the picture, that causes a problem on the maximum recursion depth variable. To retain backwards compatibility we allow users to consider "0" to be @@ -42,11 +45,6 @@ as that of the covered work. */ struct urlpos; void recursive_cleanup (void); -uerr_t retrieve_tree (const char *); - -/* These are really in html-url.c. */ -struct urlpos *get_urls_file (const char *); -struct urlpos *get_urls_html (const char *, const char *, bool *); -void free_urlpos (struct urlpos *); +uerr_t retrieve_tree (struct url *, struct iri *); #endif /* RECUR_H */