svn commit: samba r10419 - in branches/SAMBA_4_0/source/lib/ldb/include: .

idra at samba.org idra at samba.org
Thu Sep 22 09:06:37 GMT 2005


Author: idra
Date: 2005-09-22 09:06:37 +0000 (Thu, 22 Sep 2005)
New Revision: 10419

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10419

Log:

Remove unused prototypes of locking functions (thanks Jelmer)
omment about transactions


Modified:
   branches/SAMBA_4_0/source/lib/ldb/include/ldb.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2005-09-22 08:47:32 UTC (rev 10418)
+++ branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2005-09-22 09:06:37 UTC (rev 10419)
@@ -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_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);



More information about the samba-cvs mailing list