summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb_private.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-07-06 15:35:16 +1000
committerAndrew Tridgell <tridge@samba.org>2010-07-07 17:26:03 +1000
commit7f9153f7e8a3a39d23b6b9c1336031f769dce923 (patch)
treef16a27a60dd25fa30cde7c89b5898e9df320acef /source4/lib/ldb/include/ldb_private.h
parent85504ae6ff72204894ea7a856f0f36b44ad77fe2 (diff)
downloadsamba-7f9153f7e8a3a39d23b6b9c1336031f769dce923.tar.gz
samba-7f9153f7e8a3a39d23b6b9c1336031f769dce923.tar.bz2
samba-7f9153f7e8a3a39d23b6b9c1336031f769dce923.zip
s4-ldb: added ldb_options_find()
ldb_options_find() allows backends to find options in the options[] array passed to the connect operation. This will be used by the ldb_ldap bind code
Diffstat (limited to 'source4/lib/ldb/include/ldb_private.h')
-rw-r--r--source4/lib/ldb/include/ldb_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index 0e0a1a206d..aac21c7fe6 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -171,4 +171,10 @@ int ldb_init_module_chain(struct ldb_context *ldb, struct ldb_module *module);
struct ldb_val ldb_binary_decode(void *mem_ctx, const char *str);
+
+/* The following definitions come from lib/ldb/common/ldb_options.c */
+
+const char *ldb_options_find(struct ldb_context *ldb, const char *options[],
+ const char *option_name);
+
#endif