summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-17 03:35:59 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:38 +0100
commitcb62bbbb7c2ee542a3a5f978ed25e501825a44d7 (patch)
tree3442b8c96280e85aa8c2b37cf922c55c699471a5 /source4/lib/ldb/include
parent07beaf09c95a06636cb029fcc2dbbeb7293879ba (diff)
downloadsamba-cb62bbbb7c2ee542a3a5f978ed25e501825a44d7.tar.gz
samba-cb62bbbb7c2ee542a3a5f978ed25e501825a44d7.tar.bz2
samba-cb62bbbb7c2ee542a3a5f978ed25e501825a44d7.zip
r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function.
(This used to be commit a71419a73a869c24121005ccbbcb4396f888888b)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index f88c55664d..d9f2defdc9 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -159,7 +159,8 @@ 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);
+void *ldb_dso_load_symbol(struct ldb_context *ldb, const char *name,
+ const char *symbol);
/* 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);