summaryrefslogtreecommitdiff
path: root/src/util/util.h
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-03-28 07:53:53 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-24 09:19:42 -0400
commit20d0bc6d587f346238062df4da5edfde815e59b1 (patch)
treef5102659ed392161b8cde13c972237b5220d7573 /src/util/util.h
parente76d78338026fa47dca32eaf7f5c15eabb1b951a (diff)
downloadsssd-20d0bc6d587f346238062df4da5edfde815e59b1.tar.gz
sssd-20d0bc6d587f346238062df4da5edfde815e59b1.tar.bz2
sssd-20d0bc6d587f346238062df4da5edfde815e59b1.zip
Add some utility functions for subdomains
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 181e7516..37072901 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__ */