diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-25 21:59:15 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-14 21:44:39 +0200 |
commit | 27e89b6925334565c73c407a9ae2809358789c81 (patch) | |
tree | efe77b132deed319d9601075ff54994bfebc5d3d /src/providers/ipa/ipa_subdomains.h | |
parent | c3243e3212f91b69ef9990e2cb4c9339bf2f7888 (diff) | |
download | sssd-27e89b6925334565c73c407a9ae2809358789c81.tar.gz sssd-27e89b6925334565c73c407a9ae2809358789c81.tar.xz sssd-27e89b6925334565c73c407a9ae2809358789c81.zip |
IPA: Move server-mode functions to a separate module
There is already quite a few functions that are server-mode specific and
there will be even more with one-way trusts. Split the server-mode
specific functions into a separate module.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.h')
-rw-r--r-- | src/providers/ipa/ipa_subdomains.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_subdomains.h b/src/providers/ipa/ipa_subdomains.h index 0cece2cc7..d92bd01e8 100644 --- a/src/providers/ipa/ipa_subdomains.h +++ b/src/providers/ipa/ipa_subdomains.h @@ -47,6 +47,18 @@ struct ipa_ad_server_ctx { struct ipa_ad_server_ctx *next, *prev; }; +/* To be used by ipa_subdomains.c only */ +errno_t ipa_ad_subdom_refresh(struct be_ctx *be_ctx, + struct ipa_id_ctx *id_ctx, + struct sss_domain_info *parent); + +void ipa_ad_subdom_remove(struct be_ctx *be_ctx, + struct ipa_id_ctx *id_ctx, + struct sss_domain_info *subdom); + +int ipa_ad_subdom_init(struct be_ctx *be_ctx, + struct ipa_id_ctx *id_ctx); + /* struct for external group memberships, defined in * ipa_subdomains_ext_groups.c */ struct ipa_ext_groups; |