diff options
Diffstat (limited to 'source3/tdb/tdb.h')
-rw-r--r-- | source3/tdb/tdb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h index 9cb8f71a90..5ceb79ee4d 100644 --- a/source3/tdb/tdb.h +++ b/source3/tdb/tdb.h @@ -22,8 +22,11 @@ typedef unsigned tdb_len; typedef unsigned tdb_off; +#define TDB_MAGIC_FOOD "TDB file\n" + /* this is stored at the front of every database */ struct tdb_header { + char magic_food[32]; /* for /etc/magic */ unsigned version; /* version of the code */ unsigned hash_size; /* number of hash entries */ }; |