]> mj.ucw.cz Git - libucw.git/commitdiff
ST_BACKREF is gone. Frame backlinks are not indexed at all (it makes no sense
authorMartin Mares <mj@ucw.cz>
Sun, 2 Jun 2002 11:10:03 +0000 (11:10 +0000)
committerMartin Mares <mj@ucw.cz>
Sun, 2 Jun 2002 11:10:03 +0000 (11:10 +0000)
to search by them), redirect backlinks are indexed as ST_URL.

lib/custom.h

index 57798bcfb3410f070d6ce032e81c6fe12d33b490..d97e8dffd109b77891d4a0b34202f9b04228efac 100644 (file)
@@ -64,22 +64,20 @@ enum string_type {
   ST_HOST,                             /* Host name */
   ST_DOMAIN,                           /* Domain name */
   ST_REF,                              /* URL reference */
-  ST_BACKREF,                          /* Back-reference (frame or redirect source) */
   ST_MAX
 };
 
 #define STRING_TYPE_USER_NAMES                                                 \
-   "URL", "host", "domain", "ref", "backref", "type5", "type6", "type7",       \
+   "URL", "host", "domain", "ref", "type4", "type5", "type6", "type7", \
    "type8", "type9", "type10", "type11", "type12", "type13", "type14", "type15"
 
 #define STRING_TYPE_NAMES                      \
        T(URL, 1 << ST_URL)                     \
        T(HOST, 1 << ST_HOST)                   \
        T(DOMAIN, 1 << ST_DOMAIN)               \
-       T(REF, 1 << ST_REF)                     \
-       T(BACKREF, 1 << ST_BACKREF)
+       T(REF, 1 << ST_REF)
 
-#define STRING_TYPES_URL ((1 << ST_URL) | (1 << ST_REF) | (1 << ST_BACKREF))
+#define STRING_TYPES_URL ((1 << ST_URL) | (1 << ST_REF))
 /* These must be indexed in lowercase form */
 #define STRING_TYPES_CASE_INSENSITIVE ((1 << ST_HOST) | (1 << ST_DOMAIN))