]> git.ipfire.org Git - location/libloc.git/commitdiff
database format: Add some padding to header
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Oct 2019 13:58:07 +0000 (13:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Oct 2019 13:58:07 +0000 (13:58 +0000)
This can be used to add things later without
incrementing the database version.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/loc/format.h

index 71acda40c52948edb2a471ee196bfbacf26efea4..f93b015eb4482489670bf7bde2638041484b9c97 100644 (file)
@@ -66,6 +66,9 @@ struct loc_database_header_v0 {
        // Tells us where the pool starts
        uint32_t pool_offset;
        uint32_t pool_length;
+
+       // Add some padding for future extensions
+       char padding[32];
 };
 
 struct loc_database_network_node_v0 {