summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-07-19 19:00:27 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-01 22:24:44 +0200
commit067bfcaad9baae2d962528839fde30ebd1a5ba2b (patch)
treef116073e8950d6911cc8b3fa6519c468751452b4 /src/providers/ipa
parent21f19d573047e70ee8ec0119ec00c1ed1af9ec04 (diff)
downloadsssd-067bfcaad9baae2d962528839fde30ebd1a5ba2b.tar.gz
sssd-067bfcaad9baae2d962528839fde30ebd1a5ba2b.tar.bz2
sssd-067bfcaad9baae2d962528839fde30ebd1a5ba2b.zip
Use a more tractable name for subdomain request
I am all for readable names, but there is a tradeof between expressing purpose and compactness.
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_subdomains.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index 11fba6b9..e842e24b 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -151,10 +151,9 @@ done:
return ret;
}
-static errno_t ipa_subdomains_parse_results(
- struct be_get_subdomains_req *sd_data,
- size_t count,
- struct sysdb_attrs **reply)
+static errno_t ipa_subdomains_parse_results(struct be_subdom_req *sd_data,
+ size_t count,
+ struct sysdb_attrs **reply)
{
struct sysdb_subdom **new_domain_list = NULL;
const char *value;
@@ -234,7 +233,7 @@ struct ipa_subdomains_req_ctx {
struct be_req *be_req;
struct ipa_subdomains_ctx *sd_ctx;
struct sdap_id_op *sdap_op;
- struct be_get_subdomains_req *sd_data;
+ struct be_subdom_req *sd_data;
char *current_filter;
@@ -287,8 +286,7 @@ void ipa_subdomains_handler(struct be_req *be_req)
ctx->sd_ctx = talloc_get_type(
be_req->be_ctx->bet_info[BET_SUBDOMAINS].pvt_bet_data,
struct ipa_subdomains_ctx);
- ctx->sd_data = talloc_get_type(be_req->req_data,
- struct be_get_subdomains_req);
+ ctx->sd_data = talloc_get_type(be_req->req_data, struct be_subdom_req);
ctx->search_base_iter = 0;
ctx->search_bases = ctx->sd_ctx->search_bases;