[svn-commits] mmichelson: branch group/CCSS r247921 - /team/group/CCSS/main/ccss.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Feb 19 12:12:36 CST 2010
Author: mmichelson
Date: Fri Feb 19 12:12:32 2010
New Revision: 247921
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=247921
Log:
Move configuration parameters back to allow compilation again.
Modified:
team/group/CCSS/main/ccss.c
Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=247921&r1=247920&r2=247921
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Fri Feb 19 12:12:32 2010
@@ -103,6 +103,25 @@
/*!
* \since 1.8
+ * \internal
+ * \brief A structure for holding the configuration parameters
+ * relating to CCSS
+ */
+struct ast_cc_config_params {
+ enum ast_cc_agent_policies cc_agent_policy;
+ enum ast_cc_monitor_policies cc_monitor_policy;
+ unsigned int cc_offer_timer;
+ unsigned int ccnr_available_timer;
+ unsigned int ccbs_available_timer;
+ unsigned int cc_recall_timer;
+ unsigned int cc_max_agents;
+ unsigned int cc_max_monitors;
+ char cc_callback_macro[AST_MAX_EXTENSION];
+ char cc_agent_dialstring[AST_MAX_EXTENSION];
+};
+
+/*!
+ * \since 1.8
* \brief The states used in the CCSS core state machine
*
* For more information, see doc/CCSS_architecture.pdf
@@ -480,25 +499,6 @@
static const unsigned int CC_MAX_MONITORS_DEFAULT = 5u;
static const unsigned int GLOBAL_CC_MAX_REQUESTS_DEFAULT = 20u;
-/*!
- * \since 1.8
- * \internal
- * \brief A structure for holding the configuration parameters
- * relating to CCSS
- */
-struct ast_cc_config_params {
- enum ast_cc_agent_policies cc_agent_policy;
- enum ast_cc_monitor_policies cc_monitor_policy;
- unsigned int cc_offer_timer;
- unsigned int ccnr_available_timer;
- unsigned int ccbs_available_timer;
- unsigned int cc_recall_timer;
- unsigned int cc_max_agents;
- unsigned int cc_max_monitors;
- char cc_callback_macro[AST_MAX_EXTENSION];
- char cc_agent_dialstring[AST_MAX_EXTENSION];
-};
-
struct ast_cc_config_params *__ast_cc_config_params_init(const char *file, int line, const char *function)
{
#if defined(__AST_DEBUG_MALLOC)
More information about the svn-commits
mailing list