mod_fifo: Document load_config()

This commit is contained in:
Travis Cross 2014-05-26 16:10:34 +00:00
parent 83f69a41e8
commit 8ccd13bd9a
1 changed files with 14 additions and 0 deletions

View File

@ -4338,6 +4338,20 @@ static void extract_fifo_outbound_uuid(char *string, char *uuid, switch_size_t l
switch_event_destroy(&ovars);
}
/*!
* Load or reload the configuration
*
* On the initial load, non-static members are preserved unless the
* parameter `delete-all-outbound-members-on-startup` is set. The
* parameter `del_all` is ignored in this case.
*
* On reload, non-static members are preserved unless `del_all` is
* set.
*
* \param reload true if we're reloading the config
* \param del_all delete all outbound members when reloading;
* not used unless reload is true
*/
static switch_status_t load_config(int reload, int del_all)
{
char *cf = "fifo.conf";