summaryrefslogtreecommitdiff
path: root/lib/dbwrap/dbwrap.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-22 15:07:44 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-22 07:35:17 +0200
commit41f799d877961d095401a628307e0c690dfbc124 (patch)
tree5687f03d0009a3f379375a3d52087afbb14591e2 /lib/dbwrap/dbwrap.h
parentf6eb187fdab6b8088bb065e418fe604c4eba7751 (diff)
downloadsamba-41f799d877961d095401a628307e0c690dfbc124.tar.gz
samba-41f799d877961d095401a628307e0c690dfbc124.tar.bz2
samba-41f799d877961d095401a628307e0c690dfbc124.zip
dbwrap: dbwrap_transaction_start_nonblock().
Implemented for ntdb and tdb; falls back to the blocking variant for others. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/dbwrap/dbwrap.h')
-rw-r--r--lib/dbwrap/dbwrap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index 0b19396b98..366e657680 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -77,6 +77,7 @@ int dbwrap_wipe(struct db_context *db);
int dbwrap_check(struct db_context *db);
int dbwrap_get_seqnum(struct db_context *db);
int dbwrap_transaction_start(struct db_context *db);
+NTSTATUS dbwrap_transaction_start_nonblock(struct db_context *db);
int dbwrap_transaction_commit(struct db_context *db);
int dbwrap_transaction_cancel(struct db_context *db);
void dbwrap_db_id(struct db_context *db, const uint8_t **id, size_t *idlen);