summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_subdomains.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-07-19 19:35:43 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-01 22:24:44 +0200
commit87ed72b47859e673b636c85f35b85f1546c7ed3d (patch)
tree7feadb7a4316ad4148924b5424132e793c1c7c5c /src/providers/ipa/ipa_subdomains.h
parent204cfc89a076fd32bf34f2abb3f809304aaa88ab (diff)
downloadsssd-87ed72b47859e673b636c85f35b85f1546c7ed3d.tar.gz
sssd-87ed72b47859e673b636c85f35b85f1546c7ed3d.tar.xz
sssd-87ed72b47859e673b636c85f35b85f1546c7ed3d.zip
Expose an initializer function from subdomain
Instead of exporting internal structures, expose an initilizer function like the autofs code and initialize everything inside the ipa_subdomains.c file.
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.h')
-rw-r--r--src/providers/ipa/ipa_subdomains.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/providers/ipa/ipa_subdomains.h b/src/providers/ipa/ipa_subdomains.h
index 895ba29f5..9d24bccf2 100644
--- a/src/providers/ipa/ipa_subdomains.h
+++ b/src/providers/ipa/ipa_subdomains.h
@@ -26,16 +26,11 @@
#define _IPA_SUBDOMAINS_H_
#include "providers/dp_backend.h"
-#include "providers/ldap/ldap_common.h"
+#include "providers/ipa/ipa_common.h"
-struct ipa_subdomains_ctx {
- struct sdap_id_ctx *sdap_id_ctx;
- struct sdap_search_base **search_bases;
- struct sdap_search_base **master_search_bases;
- struct sdap_search_base **ranges_search_bases;
-};
-
-
-void ipa_subdomains_handler(struct be_req *be_req);
+int ipa_subdom_init(struct be_ctx *be_ctx,
+ struct ipa_id_ctx *id_ctx,
+ struct bet_ops **ops,
+ void **pvt_data);
#endif /* _IPA_SUBDOMAINS_H_ */