mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5343 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
50fe6fbac8
commit
b67f9c5b2a
34 files changed
+161
-113
No files matched your search
@@ -32,7 +32,9 @@
|
||||
*
|
||||
*/
|
||||
#include "switch.h"
|
||||
static const char modname[] = "mod_amr";
|
||||
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_amr_load);
|
||||
SWITCH_MODULE_DEFINITION(mod_amr, mod_amr_load, NULL, NULL);
|
||||
|
||||
#ifndef AMR_PASSTHROUGH
|
||||
#include "amr/interf_enc.h"
|
||||
@@ -322,7 +324,7 @@ static switch_loadable_module_interface_t amr_module_interface = {
|
||||
/*.application_interface */ NULL
|
||||
};
|
||||
|
||||
SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_module_interface_t **module_interface, char *filename)
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_amr_load)
|
||||
{
|
||||
#ifndef AMR_PASSTHROUGH
|
||||
char *cf = "amr.conf";
|
||||
|
||||
Reference in new issue
Block a user