diff options
Diffstat (limited to 'lib/libfetch/fetch.h')
-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 |