summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-14 14:55:05 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-02-10 22:08:46 +0100
commit1187a07ed4207c1c326fdf83915dddfe472b8620 (patch)
tree203d17d6afe7b390bab6a57cca25d8290c92312c /src/db/sysdb.h
parent3912262270a6449ebe1d3e92c27c217b4044f894 (diff)
downloadsssd-1187a07ed4207c1c326fdf83915dddfe472b8620.tar.gz
sssd-1187a07ed4207c1c326fdf83915dddfe472b8620.tar.xz
sssd-1187a07ed4207c1c326fdf83915dddfe472b8620.zip
Add sysdb_subdomain_store() function
Replaces sysdb_add_subdomain_attributes and is a public sysdb interface.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index c6a704831..98cf6bcd7 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -369,10 +369,15 @@ errno_t sysdb_get_subdomains(TALLOC_CTX *mem_ctx,
errno_t sysdb_domain_create(struct sysdb_ctx *sysdb, const char *domain_name);
+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_master_domain_update(struct sss_domain_info *domain);
errno_t sysdb_master_domain_add_info(struct sss_domain_info *domain,