diff options
author | des <des@FreeBSD.org> | 2000-10-12 21:59:22 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-10-12 21:59:22 +0000 |
commit | 4ce445deae9fd1f24de069fd98e1eed6e4c0e989 (patch) | |
tree | 26ec9603c8e9fae6f3f6cde3018f5d2b4d33393b /lib | |
parent | 66f25fff0b01d00b15ec91eb1e9e757e997d5674 (diff) | |
download | FreeBSD-src-4ce445deae9fd1f24de069fd98e1eed6e4c0e989.zip FreeBSD-src-4ce445deae9fd1f24de069fd98e1eed6e4c0e989.tar.gz |
Add macros for the names of the URL schemes we support.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libfetch/fetch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.h b/lib/libfetch/fetch.h index 9d7fa9b..aedd472 100644 --- a/lib/libfetch/fetch.h +++ b/lib/libfetch/fetch.h @@ -59,6 +59,11 @@ struct url_ent { struct url_stat stat; }; +/* Recognized schemes */ +#define SCHEME_FTP "ftp" +#define SCHEME_HTTP "http" +#define SCHEME_FILE "file" + /* Error codes */ #define FETCH_ABORT 1 #define FETCH_AUTH 2 |