summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-06-07 22:03:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:57 -0500
commitc79f37fa1aa0b7414d184ddb14f2db168cbd2568 (patch)
tree5a49248ee09f1f53d65ed303afde4bd3c5fcfeff /source4/lib/ldb
parent247af0d569594512a24e83156e257b8d4d356883 (diff)
downloadsamba-c79f37fa1aa0b7414d184ddb14f2db168cbd2568.tar.gz
samba-c79f37fa1aa0b7414d184ddb14f2db168cbd2568.tar.bz2
samba-c79f37fa1aa0b7414d184ddb14f2db168cbd2568.zip
r16084: Add private prototype for new ldb_connect_backend() function.
Andrew Bartlett (This used to be commit 684126223046d88d1ff446767ab6783f6391b50c)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/include/ldb_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index 6d017d5cc1..a10c343352 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -130,6 +130,11 @@ struct ldb_context {
*/
#define ldb_oom(ldb) ldb_debug_set(ldb, LDB_DEBUG_FATAL, "ldb out of memory at %s:%d\n", __FILE__, __LINE__)
+/* The following definitions come from lib/ldb/common/ldb.c */
+
+int ldb_connect_backend(struct ldb_context *ldb, const char *url, unsigned int flags, const char *options[],
+ struct ldb_module **backend_module);
+
/* The following definitions come from lib/ldb/common/ldb_modules.c */
int ldb_load_modules(struct ldb_context *ldb, const char *options[]);