diff options
author | Sumit Bose <sbose@redhat.com> | 2012-01-23 12:57:33 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-29 12:53:47 -0500 |
commit | d2d2d6ae0c436461bcc8f881df059eb036314c44 (patch) | |
tree | 679d929d1b5aa4106413179d99e86c60c200279c /src/db/sysdb.h | |
parent | b97595ae059c69b1960a6e7e56d74660388a683b (diff) | |
download | sssd-d2d2d6ae0c436461bcc8f881df059eb036314c44.tar.gz sssd-d2d2d6ae0c436461bcc8f881df059eb036314c44.tar.xz sssd-d2d2d6ae0c436461bcc8f881df059eb036314c44.zip |
Keep sysdb context in domain info struct
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 5f264c25d..1da61f2c1 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -328,6 +328,13 @@ int sysdb_domain_init(TALLOC_CTX *mem_ctx, const char *db_path, struct sysdb_ctx **_ctx); +errno_t sysdb_init_domain_and_sysdb(TALLOC_CTX *mem_ctx, + struct confdb_ctx *cdb, + const char *domain_name, + const char *db_path, + struct sss_domain_info **_domain, + struct sysdb_ctx **_ctx); + int sysdb_list_init(TALLOC_CTX *mem_ctx, const char *path, struct sysdb_ctx *sysdb, @@ -337,6 +344,8 @@ int sysdb_get_ctx_from_list(struct sysdb_ctx_list *ctx_list, struct sss_domain_info *domain, struct sysdb_ctx **_ctx); +errno_t sysdb_add_to_domain(struct sss_domain_info *domain, + struct sysdb_ctx *ctx); /* functions to retrieve information from sysdb * These functions automatically starts an operation * therefore they cannot be called within a transaction */ |