summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 3102676327..1b5c7c4f57 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -255,6 +255,16 @@ int ldb_modify(struct ldb_context *ldb,
int ldb_rename(struct ldb_context *ldb, const char *olddn, const char *newdn);
/*
+ create a named lock
+*/
+int ldb_lock(struct ldb_context *ldb, const char *lockname);
+
+/*
+ release a named lock
+*/
+int ldb_unlock(struct ldb_context *ldb, const char *lockname);
+
+/*
delete a record from the database
*/
int ldb_delete(struct ldb_context *ldb, const char *dn);