Add macros for the names of the URL schemes we support.
This commit is contained in:
parent
88820203d4
commit
be9e1d8a68
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user