diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-05-26 19:37:15 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-05-26 19:37:15 +0000 |
commit | 6490b215b31ab049cd10a3f77632ca04b24fe3a7 (patch) | |
tree | 1351bf0ecdfc0a813a58580d0e23b6d8efa42e8a /lib/libfetch/fetch.h | |
parent | 2b26f942d39f9750a66853a1b9ebdd68f368d6fd (diff) |
Notes
Diffstat (limited to 'lib/libfetch/fetch.h')
-rw-r--r-- | lib/libfetch/fetch.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libfetch/fetch.h b/lib/libfetch/fetch.h index dc5fc05b4702..cca0d1f2c95f 100644 --- a/lib/libfetch/fetch.h +++ b/lib/libfetch/fetch.h @@ -55,7 +55,7 @@ struct url_stat { }; struct url_ent { - char name[MAXPATHLEN]; + char name[PATH_MAX]; struct url_stat stat; }; @@ -125,6 +125,10 @@ struct url *fetchMakeURL(const char *, const char *, int, struct url *fetchParseURL(const char *); void fetchFreeURL(struct url *); +/* Authentication */ +typedef int (*auth_t)(struct url *); +extern auth_t fetchAuthMethod; + /* Last error code */ extern int fetchLastErrCode; #define MAXERRSTRING 256 |