From: Martin Mares Date: Sat, 3 Mar 2001 12:12:35 +0000 (+0000) Subject: Defined which string classes contain URL's and which ones case insensitive X-Git-Tag: holmes-import~1535 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1378d93bf50256b28e1d676c854510026858dc6f;p=libucw.git Defined which string classes contain URL's and which ones case insensitive strings. --- diff --git a/lib/index.h b/lib/index.h index 70a8186d..8e145f7a 100644 --- a/lib/index.h +++ b/lib/index.h @@ -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 {