svn commit: samba r20046 - in branches: SAMBA_3_0/source/lib/ldb/include SAMBA_4_0/source/lib/ldb/include

vlendec at samba.org vlendec at samba.org
Tue Dec 5 16:20:39 GMT 2006


Author: vlendec
Date: 2006-12-05 16:20:39 +0000 (Tue, 05 Dec 2006)
New Revision: 20046

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

Log:
Add ldb_search_exp_fmt and port comment to 4
Modified:
   branches/SAMBA_3_0/source/lib/ldb/include/ldb.h
   branches/SAMBA_4_0/source/lib/ldb/include/ldb.h


Changeset:
Modified: branches/SAMBA_3_0/source/lib/ldb/include/ldb.h
===================================================================
--- branches/SAMBA_3_0/source/lib/ldb/include/ldb.h	2006-12-05 15:41:41 UTC (rev 20045)
+++ branches/SAMBA_3_0/source/lib/ldb/include/ldb.h	2006-12-05 16:20:39 UTC (rev 20046)
@@ -990,6 +990,16 @@
 	       const char * const *attrs, struct ldb_result **res);
 
 /*
+ * a useful search function where you can easily define the expression and
+ * that takes a memory context where results are allocated
+*/
+
+int ldb_search_exp_fmt(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
+		       struct ldb_result **result, struct ldb_dn *base,
+		       enum ldb_scope scope, const char * const *attrs,
+		       const char *exp_fmt, ...);
+
+/*
   like ldb_search() but takes a parse tree
 */
 int ldb_search_bytree(struct ldb_context *ldb, 

Modified: branches/SAMBA_4_0/source/lib/ldb/include/ldb.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2006-12-05 15:41:41 UTC (rev 20045)
+++ branches/SAMBA_4_0/source/lib/ldb/include/ldb.h	2006-12-05 16:20:39 UTC (rev 20046)
@@ -989,10 +989,17 @@
 	       const char *expression,
 	       const char * const *attrs, struct ldb_result **res);
 
-int ldb_search_exp_fmt(struct ldb_context *ldb, TALLOC_CTX *mem_ctx, struct ldb_result **result,
-                        struct ldb_dn *base, enum ldb_scope scope, const char * const *attrs,
-                        const char *exp_fmt, ...);
 /*
+ * a useful search function where you can easily define the expression and
+ * that takes a memory context where results are allocated
+*/
+
+int ldb_search_exp_fmt(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
+		       struct ldb_result **result, struct ldb_dn *base,
+		       enum ldb_scope scope, const char * const *attrs,
+		       const char *exp_fmt, ...);
+
+/*
   like ldb_search() but takes a parse tree
 */
 int ldb_search_bytree(struct ldb_context *ldb, 



More information about the samba-cvs mailing list