Add macros for the names of the URL schemes we support.

This commit is contained in:
Dag-Erling Smørgrav 2000-10-12 21:59:22 +00:00
parent 88820203d4
commit be9e1d8a68
1 changed files with 5 additions and 0 deletions

View File

@ -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