git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
353fdc5
)
dbwrap: add flags DBWRAP_FLAG_NONE
author
Michael Adam
<obnox@samba.org>
Mon, 27 Jan 2014 12:38:51 +0000
(13:38 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 7 Feb 2014 15:06:06 +0000
(16:06 +0100)
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>
lib/dbwrap/dbwrap.h
patch
|
blob
|
history
diff --git
a/lib/dbwrap/dbwrap.h
b/lib/dbwrap/dbwrap.h
index 8bf3286f70a6a8bd7aba28dfda5fdc702b98342b..4064ba2698fc9605005e190415c31a2f92b2f277 100644
(file)
--- 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);