summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-09-22 09:06:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:43 -0500
commit2ce3b5a00347cc3120efd12cd58d52a5c43305b3 (patch)
tree81c320ea740a504847170b2c0d5f461f6931a6da /source4/lib/ldb/include/ldb.h
parent53de9b5be089bb486c9219085a89bd172207e81e (diff)
downloadsamba-2ce3b5a00347cc3120efd12cd58d52a5c43305b3.tar.gz
samba-2ce3b5a00347cc3120efd12cd58d52a5c43305b3.tar.bz2
samba-2ce3b5a00347cc3120efd12cd58d52a5c43305b3.zip
r10419: Remove unused prototypes of locking functions (thanks Jelmer)
omment about transactions (This used to be commit 33352507593875a147276841fdb70de8edd668f5)
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index f7abd920eb..0e794c6209 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -49,6 +49,7 @@
major restrictions as compared to tdb:
- no explicit locking calls
+ UPDATE: we have transactions now, better than locking --SSS.
*/
@@ -303,16 +304,6 @@ int ldb_modify(struct ldb_context *ldb,
int ldb_rename(struct ldb_context *ldb, const struct ldb_dn *olddn, const struct ldb_dn *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 struct ldb_dn *dn);