summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-01-27 13:38:51 +0100
committerStefan Metzmacher <metze@samba.org>2014-02-07 16:06:06 +0100
commit229dcfd3501e4743d5d9aea5c9f7a97d7612a499 (patch)
tree2b21db1ae54d41d37a6f743ed1d90e2f14c0de0c
parent353fdc5f9d97d1f2867b75f518673ac23f0f5d1c (diff)
downloadsamba-229dcfd3501e4743d5d9aea5c9f7a97d7612a499.tar.gz
samba-229dcfd3501e4743d5d9aea5c9f7a97d7612a499.tar.xz
samba-229dcfd3501e4743d5d9aea5c9f7a97d7612a499.zip
dbwrap: add flags DBWRAP_FLAG_NONE
This is in preparation of adding a dbwrap_flags argument to db_open and firends. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--lib/dbwrap/dbwrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index 8bf3286f70a..4064ba2698f 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -32,6 +32,8 @@ enum dbwrap_lock_order {
};
#define DBWRAP_LOCK_ORDER_MAX DBWRAP_LOCK_ORDER_3
+#define DBWRAP_FLAG_NONE 0x0000000000000000ULL
+
/* The following definitions come from lib/dbwrap.c */
TDB_DATA dbwrap_record_get_key(const struct db_record *rec);