mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
remove freeswitch's privates (couldn't resist)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@677 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c30a71fa9c
commit
14072e8725
13 files changed
+64
-64
No files matched your search
@@ -81,7 +81,7 @@ static switch_status mod_ldap_open(switch_directory_handle *dh, char *source, ch
|
||||
}
|
||||
|
||||
|
||||
dh->private = context;
|
||||
dh->private_info = context;
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
@@ -90,7 +90,7 @@ static switch_status mod_ldap_close(switch_directory_handle *dh)
|
||||
{
|
||||
struct ldap_context *context;
|
||||
|
||||
context = dh->private;
|
||||
context = dh->private_info;
|
||||
assert(context != NULL);
|
||||
|
||||
ldap_unbind_s(context->ld);
|
||||
@@ -102,7 +102,7 @@ static switch_status mod_ldap_query(switch_directory_handle *dh, char *base, cha
|
||||
{
|
||||
struct ldap_context *context;
|
||||
|
||||
context = dh->private;
|
||||
context = dh->private_info;
|
||||
assert(context != NULL);
|
||||
|
||||
if (ldap_search_s(context->ld, base, LDAP_SCOPE_SUBTREE, query, NULL, 0, &context->msg) != LDAP_SUCCESS) {
|
||||
@@ -120,7 +120,7 @@ static switch_status mod_ldap_next(switch_directory_handle *dh)
|
||||
{
|
||||
struct ldap_context *context;
|
||||
|
||||
context = dh->private;
|
||||
context = dh->private_info;
|
||||
assert(context != NULL);
|
||||
|
||||
context->vitt = 0;
|
||||
@@ -144,7 +144,7 @@ switch_status mod_ldap_next_pair(switch_directory_handle *dh, char **var, char *
|
||||
{
|
||||
struct ldap_context *context;
|
||||
|
||||
context = dh->private;
|
||||
context = dh->private_info;
|
||||
assert(context != NULL);
|
||||
|
||||
*var = *val = NULL;
|
||||
|
||||
Reference in new issue
Block a user