mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
Add mod_ldap as directory example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@580 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -842,10 +842,11 @@ SWITCH_DECLARE(switch_status) switch_core_directory_open(switch_directory_handle
|
||||
/*!
|
||||
\brief Query a directory handle
|
||||
\param dh a direcotry handle to use
|
||||
\param base the base to query against
|
||||
\param query a string of filters or query data
|
||||
\return SWITCH_STATUS_SUCCESS if the query is successful
|
||||
*/
|
||||
SWITCH_DECLARE(switch_status) switch_core_directory_query(switch_directory_handle *dh, char *query);
|
||||
SWITCH_DECLARE(switch_status) switch_core_directory_query(switch_directory_handle *dh, char *base, char *query);
|
||||
|
||||
/*!
|
||||
\brief Obtain the next record in a lookup
|
||||
|
||||
@@ -330,7 +330,7 @@ struct switch_directory_interface {
|
||||
/*! function to close the directory interface */
|
||||
switch_status (*directory_close)(switch_directory_handle *dh);
|
||||
/*! function to query the directory interface */
|
||||
switch_status (*directory_query)(switch_directory_handle *dh, char *query);
|
||||
switch_status (*directory_query)(switch_directory_handle *dh, char *base, char *query);
|
||||
/*! function to advance to the next record */
|
||||
switch_status (*directory_next)(switch_directory_handle *dh);
|
||||
/*! function to advance to the next name/value pair in the current record */
|
||||
|
||||
Reference in New Issue
Block a user