diff options
Diffstat (limited to 'libfetch/fetch.h')
-rw-r--r-- | libfetch/fetch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libfetch/fetch.h b/libfetch/fetch.h index 0c07c05..15c60e9 100644 --- a/libfetch/fetch.h +++ b/libfetch/fetch.h @@ -164,6 +164,10 @@ char *fetchUnquoteFilename(struct url *); void fetchConnectionCacheInit(int, int); void fetchConnectionCacheClose(void); +/* Redirects */ +typedef void (*fetch_redirect_t)(int, const struct url *, const struct url *); +extern fetch_redirect_t fetchRedirectMethod; + /* Authentication */ typedef int (*auth_t)(struct url *); extern auth_t fetchAuthMethod; |