r10419: Remove unused prototypes of locking functions (thanks Jelmer)
authorSimo Sorce <idra@samba.org>
Thu, 22 Sep 2005 09:06:37 +0000 (09:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:43 +0000 (13:38 -0500)
omment about transactions
(This used to be commit 33352507593875a147276841fdb70de8edd668f5)

source4/lib/ldb/include/ldb.h

index f7abd920ebcd3e0ad553a15349bc87be0f6913f2..0e794c6209ee1194a29948ab0b0f715b792cfed5 100644 (file)
@@ -49,6 +49,7 @@
   major restrictions as compared to tdb:
 
      - no explicit locking calls
+     UPDATE: we have transactions now, better than locking --SSS.
 
 */
 
@@ -302,16 +303,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
 */