summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_async_netgroups.c
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-10-12 09:14:57 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-11-23 14:19:53 -0500
commit7d9f54f5ec7c72336c4f69dbf20d55f1f64b88d2 (patch)
treecd143ed207c35e2c40070d45cd26397dc82b08ca /src/providers/ldap/sdap_async_netgroups.c
parente369fc08906383e6d5c39832f31bb6600a33f887 (diff)
downloadsssd-7d9f54f5ec7c72336c4f69dbf20d55f1f64b88d2.tar.gz
sssd-7d9f54f5ec7c72336c4f69dbf20d55f1f64b88d2.tar.bz2
sssd-7d9f54f5ec7c72336c4f69dbf20d55f1f64b88d2.zip
Renamed some LDAP routines
These were renamed just ot make sure they are not mistook for IPA netgroup functions.
Diffstat (limited to 'src/providers/ldap/sdap_async_netgroups.c')
-rw-r--r--src/providers/ldap/sdap_async_netgroups.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/providers/ldap/sdap_async_netgroups.c b/src/providers/ldap/sdap_async_netgroups.c
index e963159c..bb2e1bb2 100644
--- a/src/providers/ldap/sdap_async_netgroups.c
+++ b/src/providers/ldap/sdap_async_netgroups.c
@@ -27,7 +27,7 @@
#include "providers/ldap/sdap_async_private.h"
#include "providers/ldap/ldap_common.h"
-static bool is_dn(const char *str)
+bool is_dn(const char *str)
{
int ret;
LDAPDN dn;
@@ -182,16 +182,8 @@ fail:
return ret;
}
-struct dn_item {
- const char *dn;
- struct sysdb_attrs *netgroup;
- char *cn;
- struct dn_item *next;
- struct dn_item *prev;
-};
-
-static errno_t update_dn_list(struct dn_item *dn_list, const size_t count,
- struct ldb_message **res, bool *all_resolved)
+errno_t update_dn_list(struct dn_item *dn_list, const size_t count,
+ struct ldb_message **res, bool *all_resolved)
{
struct dn_item *dn_item;
size_t c;