summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-22 17:27:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:39 -0500
commit6f68945f7dc88814a5ed587512c7d29d18de5f34 (patch)
tree5de975ef4579e304c963ef30ba7bb452381d4cc9 /source4/lib/ldb/include
parentc65b5a6f87dd1f859a8ccbdc709565ac7841006b (diff)
downloadsamba-6f68945f7dc88814a5ed587512c7d29d18de5f34.tar.gz
samba-6f68945f7dc88814a5ed587512c7d29d18de5f34.tar.xz
samba-6f68945f7dc88814a5ed587512c7d29d18de5f34.zip
r20320: add missing prototypes
metze (This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 0438b88bbb6..1e2a6b0bbd1 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -827,12 +827,29 @@ struct ldb_context *ldb_init(void *mem_ctx);
int ldb_connect(struct ldb_context *ldb, const char *url, unsigned int flags, const char *options[]);
/*
+ return an automatic basedn from the rootDomainNamingContext of the rootDSE
+ This value have been set in an opaque pointer at connection time
+*/
+struct ldb_dn *ldb_get_root_basedn(struct ldb_context *ldb);
+
+/*
+ return an automatic basedn from the configurationNamingContext of the rootDSE
+ This value have been set in an opaque pointer at connection time
+*/
+struct ldb_dn *ldb_get_config_basedn(struct ldb_context *ldb);
+
+/*
+ return an automatic basedn from the schemaNamingContext of the rootDSE
+ This value have been set in an opaque pointer at connection time
+*/
+struct ldb_dn *ldb_get_schema_basedn(struct ldb_context *ldb);
+
+/*
return an automatic baseDN from the defaultNamingContext of the rootDSE
This value have been set in an opaque pointer at connection time
*/
struct ldb_dn *ldb_get_default_basedn(struct ldb_context *ldb);
-
/**
The Default iasync search callback function