]> mj.ucw.cz Git - libucw.git/commitdiff
Defined which string classes contain URL's and which ones case insensitive
authorMartin Mares <mj@ucw.cz>
Sat, 3 Mar 2001 12:12:35 +0000 (12:12 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 3 Mar 2001 12:12:35 +0000 (12:12 +0000)
strings.

lib/index.h

index 70a8186d7e2eaf6078811ba45cd4ff4264acba34..8e145f7a8859b6b7628c336036de8973b6a0563d 100644 (file)
@@ -36,6 +36,9 @@ enum string_type {
   ST_BACKREF,                          /* Back-reference (frame or redirect source) */
 };
 
+#define STRING_TYPES_URL ((1 << ST_URL) | (1 << ST_REF) | (1 << ST_BACKREF))
+#define STRING_TYPES_CASE_INSENSITIVE ((1 << ST_HOST) | (1 << ST_DOMAIN))
+
 /* Index card attributes */
 
 struct card_attr {