summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/common
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-23 14:27:59 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-23 18:27:31 +0200
commit9b64073cf733588b75c3780f2c18728ff3009500 (patch)
tree9e0a2a4b0489d3322be1a1c06ec68f594d844143 /source3/lib/ldb/common
parent90cc5e72ba0cf4b5261be2f2aa9db87bd011fbb0 (diff)
downloadsamba-9b64073cf733588b75c3780f2c18728ff3009500.tar.gz
samba-9b64073cf733588b75c3780f2c18728ff3009500.tar.bz2
samba-9b64073cf733588b75c3780f2c18728ff3009500.zip
ldb/samba3: Support event context argument to ldb_init().
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
Diffstat (limited to 'source3/lib/ldb/common')
-rw-r--r--source3/lib/ldb/common/ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/common/ldb.c b/source3/lib/ldb/common/ldb.c
index cef7373c26..0ea80fecfc 100644
--- a/source3/lib/ldb/common/ldb.c
+++ b/source3/lib/ldb/common/ldb.c
@@ -39,7 +39,7 @@
initialise a ldb context
The mem_ctx is optional
*/
-struct ldb_context *ldb_init(void *mem_ctx)
+struct ldb_context *ldb_init(void *mem_ctx, struct tevent_context *tev_ctx)
{
struct ldb_context *ldb = talloc_zero(mem_ctx, struct ldb_context);
int ret;