diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-03-28 07:53:53 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-24 09:19:42 -0400 |
commit | 20d0bc6d587f346238062df4da5edfde815e59b1 (patch) | |
tree | f5102659ed392161b8cde13c972237b5220d7573 /src/util/util.h | |
parent | e76d78338026fa47dca32eaf7f5c15eabb1b951a (diff) | |
download | sssd-20d0bc6d587f346238062df4da5edfde815e59b1.tar.gz sssd-20d0bc6d587f346238062df4da5edfde815e59b1.tar.xz sssd-20d0bc6d587f346238062df4da5edfde815e59b1.zip |
Add some utility functions for subdomains
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index 181e75166..370729018 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -527,4 +527,13 @@ struct sized_string { void to_sized_string(struct sized_string *out, const char *in); +/* form domain_info.c */ +struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx, + struct sss_domain_info *parent, + const char *name, + const char *flat_name, + const char *id); +struct sss_domain_info *copy_subdomain(TALLOC_CTX *mem_ctx, + struct sss_domain_info *subdomain); + #endif /* __SSSD_UTIL_H__ */ |