mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +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:
@@ -34,7 +34,8 @@
|
||||
#include "iLBC_decode.h"
|
||||
#include "iLBC_define.h"
|
||||
|
||||
static const char modname[] = "mod_ilbc";
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_ilbc_load);
|
||||
SWITCH_MODULE_DEFINITION(mod_ilbc, mod_ilbc_load, NULL, NULL);
|
||||
|
||||
struct ilbc_context {
|
||||
iLBC_Enc_Inst_t encoder;
|
||||
@@ -314,9 +315,7 @@ static switch_loadable_module_interface_t ilbc_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_ilbc_load)
|
||||
{
|
||||
|
||||
/* connect my internal structure to the blank pointer passed to me */
|
||||
|
Reference in New Issue
Block a user