Initial framework for directory interface modules (ldap etc)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@575 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-09 16:28:49 +00:00
parent dbd2d43a0e
commit 95fbe70503
6 changed files with 173 additions and 0 deletions
+9
View File
@@ -73,6 +73,8 @@ struct switch_loadable_module_interface {
const switch_file_interface *file_interface;
/*! the table of speech interfaces the module has implmented */
const switch_speech_interface *speech_interface;
/*! the table of directory interfaces the module has implmented */
const switch_directory_interface *directory_interface;
};
/*!
@@ -142,6 +144,13 @@ SWITCH_DECLARE(switch_file_interface *) switch_loadable_module_get_file_interfac
*/
SWITCH_DECLARE(switch_speech_interface *) switch_loadable_module_get_speech_interface(char *name);
/*!
\brief Retrieve the directory interface by it's registered name
\param name the name of the directory interface
\return the desired directory interface
*/
SWITCH_DECLARE(switch_directory_interface *) switch_loadable_module_get_directory_interface(char *name);
/*!
\brief Retrieve the list of loaded codecs into an array