summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_subdomains.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-25 19:44:05 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:47:19 +0200
commit298e22fc97a99994e025c0d507737d88fe6fafef (patch)
tree199b9466152f04b637f6b132d6c932fca146c173 /src/providers/ipa/ipa_subdomains.h
parent10bf907b6d463a5cd776a056cb182bc9f8765bf4 (diff)
downloadsssd-298e22fc97a99994e025c0d507737d88fe6fafef.tar.gz
sssd-298e22fc97a99994e025c0d507737d88fe6fafef.tar.xz
sssd-298e22fc97a99994e025c0d507737d88fe6fafef.zip
IPA: Make constructing an IPA server mode context async
Refactoring in preparation for requesting the keytab in future patches. Currently it's a fake async that just marks the request as done. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.h')
-rw-r--r--src/providers/ipa/ipa_subdomains.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_subdomains.h b/src/providers/ipa/ipa_subdomains.h
index 3c5161d14..8dc3b78f3 100644
--- a/src/providers/ipa/ipa_subdomains.h
+++ b/src/providers/ipa/ipa_subdomains.h
@@ -48,10 +48,15 @@ struct ipa_ad_server_ctx {
};
/* To be used by ipa_subdomains.c only */
-errno_t ipa_ad_subdom_refresh(struct be_ctx *be_ctx,
+struct tevent_req *
+ipa_server_create_trusts_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct be_ctx *be_ctx,
struct ipa_id_ctx *id_ctx,
struct sss_domain_info *parent);
+errno_t ipa_server_create_trusts_recv(struct tevent_req *req);
+
void ipa_ad_subdom_remove(struct be_ctx *be_ctx,
struct ipa_id_ctx *id_ctx,
struct sss_domain_info *subdom);