X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Frecur.h;h=d1312471cc702e4973f30d920521f364ba0bb1d3;hb=90896e3314dc1741fbfa9ac53631af43ca7b530e;hp=005445b6f2d6d1a1267684b5be6547826b59c179;hpb=1ebd5828cb6bd6eddb4f8af24e5c675355bbf7aa;p=wget diff --git a/src/recur.h b/src/recur.h index 005445b6..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 @@ -41,6 +44,7 @@ as that of the covered work. */ struct urlpos; -uerr_t retrieve_tree (const char *); +void recursive_cleanup (void); +uerr_t retrieve_tree (struct url *, struct iri *); #endif /* RECUR_H */