diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-14 16:47:51 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-02-10 22:08:47 +0100 |
commit | 95e94691178297f2b8225a83d43ae388cab04b45 (patch) | |
tree | 5869555cf5490a7019b3f18d4fa647a9dae8b619 /src/db/sysdb.h | |
parent | 1187a07ed4207c1c326fdf83915dddfe472b8620 (diff) | |
download | sssd-95e94691178297f2b8225a83d43ae388cab04b45.tar.gz sssd-95e94691178297f2b8225a83d43ae388cab04b45.tar.xz sssd-95e94691178297f2b8225a83d43ae388cab04b45.zip |
Remove sysdb_subdom completely
struct sss_domain_info is always used to represent domains now.
Adjust tests accordingly.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 98cf6bcd7..2bc858edb 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); |