summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-07-19 17:40:40 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-01 22:24:43 +0200
commitb58460076fe843c11d736ae244c1ac979a6473a4 (patch)
tree106247ee877ea5ac564d7e5b8595f09039134a6d /src/providers/ipa
parent6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8 (diff)
downloadsssd-b58460076fe843c11d736ae244c1ac979a6473a4.tar.gz
sssd-b58460076fe843c11d736ae244c1ac979a6473a4.tar.xz
sssd-b58460076fe843c11d736ae244c1ac979a6473a4.zip
Change subdomain_info
Rename the structure to use a standard name prefix so it is properly name-spaced, in preparation for changing the structure itself.
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_subdomains.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index 6d27b138d..c4ed51ac5 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -156,12 +156,12 @@ static errno_t ipa_subdomains_parse_results(
size_t count,
struct sysdb_attrs **reply)
{
- struct subdomain_info **new_domain_list = NULL;
+ struct sysdb_subdom **new_domain_list = NULL;
const char *value;
size_t c;
int ret;
- new_domain_list = talloc_array(sd_data, struct subdomain_info *, count + 1);
+ new_domain_list = talloc_array(sd_data, struct sysdb_subdom *, count + 1);
if (new_domain_list == NULL) {
DEBUG(SSSDBG_OP_FAILURE, ("talloc_array failed.\n"));
return ENOMEM;
@@ -169,7 +169,7 @@ static errno_t ipa_subdomains_parse_results(
for (c = 0; c < count; c++) {
new_domain_list[c] = talloc_zero(new_domain_list,
- struct subdomain_info);
+ struct sysdb_subdom);
if (new_domain_list[c] == NULL) {
DEBUG(SSSDBG_OP_FAILURE, ("talloc_zero failed.\n"));
ret = ENOMEM;
@@ -471,7 +471,7 @@ static void ipa_subdomains_handler_ranges_done(struct tevent_req *req)
struct ipa_subdomains_req_ctx *ctx = tevent_req_callback_data(req,
struct ipa_subdomains_req_ctx);
struct be_req *be_req = ctx->be_req;
- struct subdomain_info *domain_info;
+ struct sysdb_subdom *domain_info;
struct range_info **range_list = NULL;
struct sysdb_ctx *sysdb;
@@ -532,7 +532,7 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req)
struct ipa_subdomains_req_ctx *ctx = tevent_req_callback_data(req,
struct ipa_subdomains_req_ctx);
struct be_req *be_req = ctx->be_req;
- struct subdomain_info *domain_info;
+ struct sysdb_subdom *domain_info;
const char *tmp_str;
ret = sdap_get_generic_recv(req, ctx, &reply_count, &reply);
@@ -543,7 +543,7 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req)
}
if (reply_count) {
- domain_info = talloc_zero(ctx, struct subdomain_info);
+ domain_info = talloc_zero(ctx, struct sysdb_subdom);
if (domain_info == NULL) {
ret = ENOMEM;
goto done;