r20320: add missing prototypes
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Dec 2006 17:27:07 +0000 (17:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:39 +0000 (14:29 -0500)
metze
(This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)

source4/lib/ldb/include/ldb.h

index 0438b88bbb6fee3ba62542bfb9f06f65ff415b46..1e2a6b0bbd11c17bb98e98708a8e46719ae2322d 100644 (file)
@@ -826,13 +826,30 @@ 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