summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-20 21:44:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:58 -0500
commitbb1909e15e7a9f3cd79da2ce8b8ef90f1a557376 (patch)
tree4de860f4c78c2c5b590468b27274e8e563b18d00 /source4/lib/ldb/include
parentd0c7651a7d4a2fb3bd2531f4c37cdfd8c7af0fed (diff)
downloadsamba-bb1909e15e7a9f3cd79da2ce8b8ef90f1a557376.tar.gz
samba-bb1909e15e7a9f3cd79da2ce8b8ef90f1a557376.tar.bz2
samba-bb1909e15e7a9f3cd79da2ce8b8ef90f1a557376.zip
r14592: Add support for loading shared modules to LDB.
(This used to be commit f10fae23f0685b2d9c6174596e1c66d799f02c52)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/includes.h3
-rw-r--r--source4/lib/ldb/include/ldb_private.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/includes.h b/source4/lib/ldb/include/includes.h
index c85ffadb6d..26309df381 100644
--- a/source4/lib/ldb/include/includes.h
+++ b/source4/lib/ldb/include/includes.h
@@ -34,6 +34,9 @@
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
+#ifdef HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index 27b6883c3d..0ea6c4e9de 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -135,6 +135,7 @@ void ldb_reset_err_string(struct ldb_context *ldb);
int ldb_register_module(const struct ldb_module_ops *);
int ldb_register_backend(const char *url_prefix, ldb_connect_fn);
+int ldb_try_load_dso(struct ldb_context *ldb, const char *name);
/* The following definitions come from lib/ldb/common/ldb_debug.c */
void ldb_debug(struct ldb_context *ldb, enum ldb_debug_level level, const char *fmt, ...) PRINTF_ATTRIBUTE(3, 4);