summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-06-01 16:53:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:44:39 +0200
commit50936fc7230a9b3f01e285e72c4182013542f53e (patch)
treeb169ca917f1f5acac5f201e02a61a5c2c3e9596b /src/util/util.h
parentea224c3813a537639778f91ac762732b3c289603 (diff)
downloadsssd-50936fc7230a9b3f01e285e72c4182013542f53e.tar.gz
sssd-50936fc7230a9b3f01e285e72c4182013542f53e.tar.xz
sssd-50936fc7230a9b3f01e285e72c4182013542f53e.zip
UTIL/SYSDB: Move new_subdomain() to sysdb_subdomains.c and make it private
In order to make updating the subdomain list a two-step process. Therefore we need to make sure that update_subdomains() is the only interface towards the SSSD that changes the subdomain list. Move the new_subdomain() function to sysdb_subdomains.c and only make it available through a private header so it's usable by unit tests. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 8eaeef45d..786ed303e 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -569,17 +569,6 @@ find_domain_by_object_name(struct sss_domain_info *domain,
bool subdomain_enumerates(struct sss_domain_info *parent,
const char *sd_name);
-struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx,
- struct sss_domain_info *parent,
- const char *name,
- const char *realm,
- const char *flat_name,
- const char *id,
- bool mpg,
- bool enumerate,
- const char *forest,
- uint32_t trust_direction);
-
errno_t sssd_domain_init(TALLOC_CTX *mem_ctx,
struct confdb_ctx *cdb,
const char *domain_name,