summaryrefslogtreecommitdiff
path: root/src/sss_client/sudo_testcli
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-02-13 09:42:03 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-02-14 11:56:28 -0500
commit968e2bc3bb28458b25c3b19868ea50f0325d8b0a (patch)
treed50f0c471104bd4cd35dd93733d78582a4145564 /src/sss_client/sudo_testcli
parent2ebb3cf3d7062860343c3db1b53173c9c6547038 (diff)
downloadsssd-968e2bc3bb28458b25c3b19868ea50f0325d8b0a.tar.gz
sssd-968e2bc3bb28458b25c3b19868ea50f0325d8b0a.tar.bz2
sssd-968e2bc3bb28458b25c3b19868ea50f0325d8b0a.zip
Refactor sss_result into sss_sudo_result
https://fedorahosted.org/sssd/ticket/1159
Diffstat (limited to 'src/sss_client/sudo_testcli')
-rw-r--r--src/sss_client/sudo_testcli/sudo_testcli.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sss_client/sudo_testcli/sudo_testcli.c b/src/sss_client/sudo_testcli/sudo_testcli.c
index fbfb9964..b498acec 100644
--- a/src/sss_client/sudo_testcli/sudo_testcli.c
+++ b/src/sss_client/sudo_testcli/sudo_testcli.c
@@ -32,12 +32,12 @@
#define EOK 0
#endif
-void print_sss_result(struct sss_result *result);
+void print_sss_result(struct sss_sudo_result *result);
int main(int argc, char **argv)
{
int ret = 0;
- struct sss_result *result = NULL;
+ struct sss_sudo_result *result = NULL;
uint32_t error = 0;
if (argc > 2) {
@@ -76,10 +76,10 @@ fail:
return 1;
}
-void print_sss_result(struct sss_result *result)
+void print_sss_result(struct sss_sudo_result *result)
{
- struct sss_rule *rule = NULL;
- struct sss_attr *attr = NULL;
+ struct sss_sudo_rule *rule = NULL;
+ struct sss_sudo_attr *attr = NULL;
int i = 0;
int j = 0;
int k = 0;