X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Furl.h;h=52c53fa504b380612459323ad881357ae2bb2feb;hb=0eea3757c0ee4462a641562ba03c893548971d8f;hp=baa44f42398912a978898de40e76cede24b38d1d;hpb=877514e50fdbfedb5755d5d5c7316d2dd20f8104;p=libucw.git diff --git a/lib/url.h b/lib/url.h index baa44f42..52c53fa5 100644 --- a/lib/url.h +++ b/lib/url.h @@ -68,9 +68,10 @@ char *url_error(uns); #define URL_PROTO_HTTP 1 #define URL_PROTO_FTP 2 #define URL_PROTO_FILE 3 -#define URL_PROTO_MAX 4 +#define URL_PROTO_SQL 4 +#define URL_PROTO_MAX 5 -#define URL_PNAMES { "unknown", "http", "ftp", "file" } +#define URL_PNAMES { "unknown", "http", "ftp", "file", "sql" } #define URL_DEFPORTS { ~0, 80, 21, 0 } #define URL_PATH_FLAGS { 0, 1, 1, 1 }