]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/loc/format.h
writer: Write out the network tree
[people/ms/libloc.git] / src / loc / format.h
index 1f36aae248a6db79fb154e2a718e56d17bf94302..a1c0ebd55a68ca28187761239cac2d9af356e1ce 100644 (file)
@@ -46,8 +46,12 @@ struct loc_database_header_v0 {
        uint32_t as_length;
 
        // Tells us where the networks start
-       uint32_t networks_offset;
-       uint32_t networks_length;
+       uint32_t network_data_offset;
+       uint32_t network_data_length;
+
+       // Tells us where the network tree starts
+       uint32_t network_tree_offset;
+       uint32_t network_tree_length;
 
        // Tells us where the pool starts
        uint32_t pool_offset;