summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-07-19 18:41:22 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-08-01 22:24:44 +0200
commit5ea449b18d2597f2581627de80bcaf2bc70b0fd3 (patch)
tree3358c10f385d90fd4f043d6a12f2e1ce69d1e885 /src/providers
parentcb388d52f49f54963379cc20a25e14d17fe6e9a3 (diff)
downloadsssd-5ea449b18d2597f2581627de80bcaf2bc70b0fd3.tar.gz
sssd-5ea449b18d2597f2581627de80bcaf2bc70b0fd3.tar.bz2
sssd-5ea449b18d2597f2581627de80bcaf2bc70b0fd3.zip
Make structure initializer more readable
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ipa/ipa_subdomains.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index 10b41d94..fd753eff 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -254,13 +254,21 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req);
static void ipa_subdomains_handler_ranges_done(struct tevent_req *req);
static struct ipa_subdomains_req_params subdomain_requests[] = {
- { MASTER_DOMAIN_FILTER, ipa_subdomains_handler_master_done,
- {IPA_CN, IPA_FLATNAME, IPA_SID, NULL }},
- { SUBDOMAINS_FILTER, ipa_subdomains_handler_done,
- {IPA_CN, IPA_FLATNAME, IPA_TRUSTED_DOMAIN_SID, NULL }},
- { RANGE_FILTER, ipa_subdomains_handler_ranges_done,
- {OBJECTCLASS, IPA_CN, IPA_BASE_ID, IPA_ID_RANGE_SIZE, IPA_BASE_RID,
- IPA_SECONDARY_BASE_RID, IPA_TRUSTED_DOMAIN_SID, NULL }}
+ { MASTER_DOMAIN_FILTER,
+ ipa_subdomains_handler_master_done,
+ { IPA_CN, IPA_FLATNAME, IPA_SID, NULL }
+ },
+ { SUBDOMAINS_FILTER,
+ ipa_subdomains_handler_done,
+ { IPA_CN, IPA_FLATNAME, IPA_TRUSTED_DOMAIN_SID, NULL }
+ },
+ { RANGE_FILTER,
+ ipa_subdomains_handler_ranges_done,
+ { OBJECTCLASS, IPA_CN,
+ IPA_BASE_ID, IPA_BASE_RID, IPA_SECONDARY_BASE_RID,
+ IPA_ID_RANGE_SIZE, IPA_TRUSTED_DOMAIN_SID, NULL
+ }
+ }
};
void ipa_subdomains_handler(struct be_req *be_req)