]> git.ipfire.org Git - people/ms/libloc.git/blobdiff - src/database.c
Move all database format definition into format.h
[people/ms/libloc.git] / src / database.c
index e81ea44e2ca5c7ea4cff1d40788f698c945fe789..345b4f7ec272c5b80f811be188b2987369194fde 100644 (file)
@@ -46,16 +46,6 @@ struct loc_database {
        struct loc_stringpool* pool;
 };
 
-const char* LOC_DATABASE_MAGIC = "LOCDBXX";
-unsigned int LOC_DATABASE_VERSION = 0;
-
-struct loc_database_magic {
-       char magic[7];
-
-       // Database version information
-       uint8_t version;
-};
-
 LOC_EXPORT int loc_database_new(struct loc_ctx* ctx, struct loc_database** database, size_t pool_size) {
        struct loc_database* db = calloc(1, sizeof(*db));
        if (!db)