diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-05 00:00:24 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-02-10 16:56:13 +1030 |
commit | 6269cdcd1538e2e3cead9e0f3c156b0363d607a0 (patch) | |
tree | a2516931487ed0f8dee1379befa3284947769470 /lib/tdb/common/tdb_private.h | |
parent | f299fe565ae5dba76ffc708da9a47405d61b0af9 (diff) | |
download | samba-6269cdcd1538e2e3cead9e0f3c156b0363d607a0.tar.gz samba-6269cdcd1538e2e3cead9e0f3c156b0363d607a0.tar.bz2 samba-6269cdcd1538e2e3cead9e0f3c156b0363d607a0.zip |
tdb: give a name to the invalid recovery area constant (0)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb/common/tdb_private.h')
-rw-r--r-- | lib/tdb/common/tdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tdb/common/tdb_private.h b/lib/tdb/common/tdb_private.h index be9be72b15..0e74b103b3 100644 --- a/lib/tdb/common/tdb_private.h +++ b/lib/tdb/common/tdb_private.h @@ -49,6 +49,7 @@ typedef uint32_t tdb_off_t; #define TDB_FREE_MAGIC (~TDB_MAGIC) #define TDB_DEAD_MAGIC (0xFEE1DEAD) #define TDB_RECOVERY_MAGIC (0xf53bc0e7U) +#define TDB_RECOVERY_INVALID_MAGIC (0x0) #define TDB_ALIGNMENT 4 #define DEFAULT_HASH_SIZE 131 #define FREELIST_TOP (sizeof(struct tdb_header)) |