From 2e58fc0a7a69ecbe4a48b296bcf6313825fcfa7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 18 Aug 2010 23:03:58 +0300 Subject: db, filter: fix db generation of ipv4 style addresses Properly embed the ipv4 address in database now. Teach filter to understand the two new reserved component id's. --- squarkdb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'squarkdb.h') diff --git a/squarkdb.h b/squarkdb.h index 743325e..68c1a2a 100644 --- a/squarkdb.h +++ b/squarkdb.h @@ -34,6 +34,9 @@ struct sqdb_header { struct sqdb_section section[SQDB_SECTION_MAX]; }; +#define SQDB_PARENT_ROOT 0xffffff +#define SQDB_PARENT_IPV4 0xfffffe + struct sqdb_index_entry { uint32_t has_subdomains : 1; uint32_t has_paths : 1; -- cgit v1.2.3