From 95e94691178297f2b8225a83d43ae388cab04b45 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 14 Jan 2013 16:47:51 -0500 Subject: Remove sysdb_subdom completely struct sss_domain_info is always used to represent domains now. Adjust tests accordingly. --- src/db/sysdb.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/db/sysdb.h') diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 98cf6bcd..2bc858ed 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -235,13 +235,6 @@ struct sysdb_attrs { /* sysdb_attrs helper functions */ struct sysdb_attrs *sysdb_new_attrs(TALLOC_CTX *mem_ctx); -struct sysdb_subdom { - const char *realm; - const char *name; - const char *flat_name; - const char *id; -}; - struct range_info { char *name; uint32_t base_id; @@ -373,10 +366,7 @@ errno_t sysdb_subdomain_store(struct sysdb_ctx *sysdb, const char *name, const char *realm, const char *flat_name, const char *domain_id); -errno_t sysdb_update_subdomains(struct sss_domain_info *domain, - int num_subdoms, - struct sysdb_subdom *subdoms); - +errno_t sysdb_update_subdomains(struct sss_domain_info *domain); errno_t sysdb_master_domain_update(struct sss_domain_info *domain); -- cgit