clarify in mod_skel. (thanks knhor).

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3144 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-10-21 23:02:36 +00:00
parent d0f877a32f
commit 1bc0db0db6
1 changed files with 14 additions and 8 deletions

View File

@ -24,6 +24,7 @@
* Contributor(s):
*
* Anthony Minessale II <anthmct@yahoo.com>
* Neal Horman <neal at wanlink dot com>
*
*
* mod_skel.c -- Framework Demo Module
@ -67,8 +68,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod
/*
If it exists, this is called in it's own thread when the module-load completes
SWITCH_MOD_DECLARE(switch_status) switch_module_shutdown(void)
If it returns anything but SWITCH_STATUS_TERM it will be called again automaticly
SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void)
{
return SWITCH_STATUS_SUCCESS;
while(looping)
{
switch_yield(1000);
}
return SWITCH_STATUS_TERM;
}
*/