summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_async_initgroups.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-06-10 14:49:58 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-06-12 21:28:06 -0400
commit6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9 (patch)
treea4c92cd0bb17fbcb32af632a3cec354c182e4901 /src/providers/ldap/sdap_async_initgroups.c
parent1ed3a0d1d98ae410fcd716ec5c7202de2c082597 (diff)
downloadsssd-6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9.tar.gz
sssd-6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9.tar.xz
sssd-6199bd6b41e8b280e65db4b4bb17a1c5c0444aa9.zip
LDAP: Make sdap_initgr_common_store() non-static
Move it to a private header so it can be reused by other initgroups C files.
Diffstat (limited to 'src/providers/ldap/sdap_async_initgroups.c')
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c
index 34a8e36a3..8524b1374 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -196,13 +196,13 @@ fail:
return ret;
}
-static int sdap_initgr_common_store(struct sysdb_ctx *sysdb,
- struct sdap_options *opts,
- const char *name,
- enum sysdb_member_type type,
- char **sysdb_grouplist,
- struct sysdb_attrs **ldap_groups,
- int ldap_groups_count)
+int sdap_initgr_common_store(struct sysdb_ctx *sysdb,
+ struct sdap_options *opts,
+ const char *name,
+ enum sysdb_member_type type,
+ char **sysdb_grouplist,
+ struct sysdb_attrs **ldap_groups,
+ int ldap_groups_count)
{
TALLOC_CTX *tmp_ctx;
char **ldap_grouplist = NULL;