diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-08-18 23:03:58 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-08-18 23:03:58 +0300 |
commit | 2e58fc0a7a69ecbe4a48b296bcf6313825fcfa7c (patch) | |
tree | 64f0ba5cdd4cecd976ceed6dd1c3b3ac327a864f /squarkdb.h | |
parent | cf8d9e12f5222e5e6173a82f58c14b7eb6842c46 (diff) | |
download | squark-2e58fc0a7a69ecbe4a48b296bcf6313825fcfa7c.tar.bz2 squark-2e58fc0a7a69ecbe4a48b296bcf6313825fcfa7c.tar.xz |
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.
Diffstat (limited to 'squarkdb.h')
-rw-r--r-- | squarkdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |