X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Frecur.h;h=d1312471cc702e4973f30d920521f364ba0bb1d3;hp=f1da4802baf180be14105d7bb4d6ea0eb08d09f3;hb=HEAD;hpb=42253233c3cb508c3ba9cd2ca0afea14e02d11b6 diff --git a/src/recur.h b/src/recur.h index f1da4802..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, 2009 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 */