summaryrefslogtreecommitdiff
path: root/source3/lib/dbwrap/dbwrap_ctdb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-16 12:50:44 +0100
committerVolker Lendecke <vlendec@samba.org>2012-01-18 14:48:04 +0100
commitd2068d33a4adcb10037c63c092669efe7f077b8e (patch)
tree1de0c1fe27ee36b330e22b56369d9bef241444c2 /source3/lib/dbwrap/dbwrap_ctdb.h
parentb9e806050f65b3f787a797c125131200e59304d2 (diff)
downloadsamba-d2068d33a4adcb10037c63c092669efe7f077b8e.tar.gz
samba-d2068d33a4adcb10037c63c092669efe7f077b8e.tar.bz2
samba-d2068d33a4adcb10037c63c092669efe7f077b8e.zip
s3: Pass down lock_order to db_open_ctdb
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_ctdb.h')
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.h b/source3/lib/dbwrap/dbwrap_ctdb.h
index 7898818ae4..bfbe3bde52 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.h
+++ b/source3/lib/dbwrap/dbwrap_ctdb.h
@@ -23,11 +23,14 @@
#include <talloc.h>
+#include "dbwrap/dbwrap_private.h"
+
struct db_context;
struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx,
const char *name,
int hash_size, int tdb_flags,
- int open_flags, mode_t mode);
+ int open_flags, mode_t mode,
+ enum dbwrap_lock_order lock_order);
#endif /* __DBWRAP_CTDB_H__ */