]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_fifo: Document load_config()
authorTravis Cross <tc@traviscross.com>
Mon, 26 May 2014 16:10:34 +0000 (16:10 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 28 May 2014 01:31:58 +0000 (01:31 +0000)
src/mod/applications/mod_fifo/mod_fifo.c

index b77b2adc14b0a90c62439ca13b9f8030e8cd8690..c557b3ab978205419b314626db7c6267a3428194 100644 (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";