mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
part 3 of 3 standardizing typedefed types to end in _t.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1300 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
76f4a10a18
commit
14fee78470
60 files changed
+957
-957
No files matched your search
@@ -45,13 +45,13 @@ static void echo_function(switch_core_session_t *session, char *data)
|
||||
switch_channel_set_state(channel, CS_LOOPBACK);
|
||||
}
|
||||
|
||||
static const switch_application_interface echo_application_interface = {
|
||||
static const switch_application_interface_t echo_application_interface = {
|
||||
/*.interface_name */ "echo",
|
||||
/*.application_function */ echo_function,
|
||||
NULL,NULL,NULL,NULL
|
||||
};
|
||||
|
||||
static switch_loadable_module_interface echo_module_interface = {
|
||||
static switch_loadable_module_interface_t echo_module_interface = {
|
||||
/*.module_name */ modname,
|
||||
/*.endpoint_interface */ NULL,
|
||||
/*.timer_interface */ NULL,
|
||||
@@ -64,7 +64,7 @@ static switch_loadable_module_interface echo_module_interface = {
|
||||
/*.directory_interface */ NULL
|
||||
};
|
||||
|
||||
SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_module_interface **interface, char *filename)
|
||||
SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_module_interface_t **interface, char *filename)
|
||||
{
|
||||
/* connect my internal structure to the blank pointer passed to me */
|
||||
*interface = &echo_module_interface;
|
||||
|
||||
Reference in new issue
Block a user