]> mj.ucw.cz Git - libucw.git/blobdiff - lib/url.h
Use OBUCK_INCOMPLETE_MAGIC for incomplete entries.
[libucw.git] / lib / url.h
index 4d95ec985b0def1111aeabd9eb85a2e5c5e8c6c5..e36b46a65b35bebdafc646cb769343db5010b57f 100644 (file)
--- a/lib/url.h
+++ b/lib/url.h
@@ -1,7 +1,7 @@
 /*
  *     Sherlock Library -- URL Functions
  *
 /*
  *     Sherlock Library -- URL Functions
  *
- *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 1997 Martin Mares <mj@ucw.cz>
  */
 
 #define MAX_URL_SIZE 1024
  */
 
 #define MAX_URL_SIZE 1024
 #define NCC_AT 5
 #define NCC_EQUAL 6
 #define NCC_AND 7
 #define NCC_AT 5
 #define NCC_EQUAL 6
 #define NCC_AND 7
-#define NCC_MAX 8
+#define NCC_HASH 8
+#define NCC_MAX 9
 
 
-#define NCC_CHARS " ;/?:@=&"
+#define NCC_CHARS " ;/?:@=&#"
 
 /* Remove/Introduce '%' escapes */
 
 
 /* Remove/Introduce '%' escapes */
 
@@ -65,5 +66,6 @@ char *url_error(uns);
 
 #define URL_PNAMES { "unknown", "http", "ftp", "file" }
 #define URL_DEFPORTS { ~0, 80, 21, 0 }
 
 #define URL_PNAMES { "unknown", "http", "ftp", "file" }
 #define URL_DEFPORTS { ~0, 80, 21, 0 }
+#define URL_PATH_FLAGS { 0, 1, 1, 1 }
 
 extern byte *url_proto_names[];
 
 extern byte *url_proto_names[];