diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-06 03:58:58 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | 234958be042980242fff6da936af674da877c5ef (patch) | |
tree | a2f96f1cf185f950629f0718e9ce69e314c5fada /src/util/util.h | |
parent | 72aa8e7b1d234b6b68446d42efa1cff22b70c81b (diff) | |
download | sssd-234958be042980242fff6da936af674da877c5ef.tar.gz sssd-234958be042980242fff6da936af674da877c5ef.tar.xz sssd-234958be042980242fff6da936af674da877c5ef.zip |
Refactor single domain initialization
Bring it out of sysdb, which will slowly remove internal dependencies on
domains and instead will always require them to be passed by callers.
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index cc5a2bafb..df1ee3b08 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -574,6 +574,12 @@ struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx, struct sss_domain_info *copy_subdomain(TALLOC_CTX *mem_ctx, struct sss_domain_info *subdomain); +errno_t sssd_domain_init(TALLOC_CTX *mem_ctx, + struct confdb_ctx *cdb, + const char *domain_name, + const char *db_path, + struct sss_domain_info **_domain); + /* from util_lock.c */ errno_t sss_br_lock_file(int fd, size_t start, size_t len, int num_tries, useconds_t wait); |