From be9e1d8a68971fe55f77fef84e352a5956d97b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 12 Oct 2000 21:59:22 +0000 Subject: [PATCH] Add macros for the names of the URL schemes we support. --- lib/libfetch/fetch.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libfetch/fetch.h b/lib/libfetch/fetch.h index 9d7fa9ba1a2b..aedd472cb1a8 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