]> mj.ucw.cz Git - libucw.git/blobdiff - lib/index.h
Added mapping of URL keys according to the prefix equivalence table.
[libucw.git] / lib / index.h
index ccb4b360f53b8a8abeae8b8e243500cd52a27ecd..18066ea884061187cf7e98c530abb9d9b2f8fbe2 100644 (file)
@@ -108,8 +108,10 @@ fp_hash(struct fingerprint *fp)
 
 /* URL keys */
 
+#define URL_KEY_BUF_SIZE (3*MAX_URL_SIZE)
 byte *url_key(byte *url, byte *buf);
 void url_fingerprint(byte *url, struct fingerprint *fp);
+void url_key_init(void);
 
 /* Conversion of document age from seconds to our internal units */