summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2014-07-21 13:12:07 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-07-22 09:40:11 +0200
commitb011330c77168cdd864aaae54a75214935136c05 (patch)
tree51e50f4cb51ba05815be236952529e14312d1dd3 /src/util/util.h
parentdb18dda869bc6c52a41797b2066cf121cf10f49c (diff)
downloadsssd-b011330c77168cdd864aaae54a75214935136c05.tar.gz
sssd-b011330c77168cdd864aaae54a75214935136c05.tar.xz
sssd-b011330c77168cdd864aaae54a75214935136c05.zip
UTIL: rename find_subdomain_by_object_name
The function was named "find_subdomain" yet it could find both main domain and subdomain. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/util.h b/src/util/util.h
index ee84735c5..cc1a38283 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -522,8 +522,8 @@ sss_get_domain_by_sid_ldap_fallback(struct sss_domain_info *domain,
const char* sid);
struct sss_domain_info *
-find_subdomain_by_object_name(struct sss_domain_info *domain,
- const char *object_name);
+find_domain_by_object_name(struct sss_domain_info *domain,
+ const char *object_name);
bool subdomain_enumerates(struct sss_domain_info *parent,
const char *sd_name);