summaryrefslogtreecommitdiffstats
path: root/source3/tdb/tdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/tdb.h')
-rw-r--r--source3/tdb/tdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h
index 9cb8f71a902..5ceb79ee4d2 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 */
};