diff options
Diffstat (limited to 'include/mailutils/url.h')
-rw-r--r-- | include/mailutils/url.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/mailutils/url.h b/include/mailutils/url.h index 031e568c6..c33dadc45 100644 --- a/include/mailutils/url.h +++ b/include/mailutils/url.h | |||
@@ -34,6 +34,7 @@ extern "C" { | |||
34 | #define MU_URL_PATH 0x0040 /* Has path */ | 34 | #define MU_URL_PATH 0x0040 /* Has path */ |
35 | #define MU_URL_PARAM 0x0080 /* Has parameters */ | 35 | #define MU_URL_PARAM 0x0080 /* Has parameters */ |
36 | #define MU_URL_QUERY 0x0100 /* Has query */ | 36 | #define MU_URL_QUERY 0x0100 /* Has query */ |
37 | #define MU_URL_IPV6 0x0200 /* Host part is bracketed (IPv6) */ | ||
37 | 38 | ||
38 | #define MU_URL_CRED (MU_URL_USER | MU_URL_SECRET | MU_URL_AUTH) | 39 | #define MU_URL_CRED (MU_URL_USER | MU_URL_SECRET | MU_URL_AUTH) |
39 | /* Has some of authentication credentials */ | 40 | /* Has some of authentication credentials */ |
@@ -53,12 +54,14 @@ extern "C" { | |||
53 | #define MU_URL_PARSE_PORTSRV 0x0004 /* Use getservbyname to determine | 54 | #define MU_URL_PARSE_PORTSRV 0x0004 /* Use getservbyname to determine |
54 | port number */ | 55 | port number */ |
55 | #define MU_URL_PARSE_PORTWC 0x0008 /* Allow wildcard (*) as a port | 56 | #define MU_URL_PARSE_PORTWC 0x0008 /* Allow wildcard (*) as a port |
56 | number (for tickets) */ | 57 | number (for tickets) */ |
57 | #define MU_URL_PARSE_PIPE 0x0010 /* Translate "| ..." to | 58 | #define MU_URL_PARSE_PIPE 0x0010 /* Translate "| ..." to |
58 | "prog://..." */ | 59 | "prog://..." */ |
59 | #define MU_URL_PARSE_SLASH 0x0020 /* Translate "/..." to | 60 | #define MU_URL_PARSE_SLASH 0x0020 /* Translate "/..." to |
60 | "file:///..." */ | 61 | "file:///..." */ |
61 | 62 | #define MU_URL_PARSE_DSLASH_OPTIONAL 0x0040 /* Double-slash after scheme: | |
63 | part is optional */ | ||
64 | |||
62 | #define MU_URL_PARSE_DEFAULT \ | 65 | #define MU_URL_PARSE_DEFAULT \ |
63 | (MU_URL_PARSE_HEXCODE|MU_URL_PARSE_HIDEPASS|MU_URL_PARSE_PORTSRV|\ | 66 | (MU_URL_PARSE_HEXCODE|MU_URL_PARSE_HIDEPASS|MU_URL_PARSE_PORTSRV|\ |
64 | MU_URL_PARSE_PIPE|MU_URL_PARSE_SLASH) | 67 | MU_URL_PARSE_PIPE|MU_URL_PARSE_SLASH) |