[asterisk-commits] mmichelson: branch group/CCSS r221692 - in /team/group/CCSS: include/asterisk...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 1 13:55:49 CDT 2009


Author: mmichelson
Date: Thu Oct  1 13:55:46 2009
New Revision: 221692

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=221692
Log:
s/ast_cc_create_root_tree_item/ast_cc_init/

The function's name doesn't really match what it does
necessarily, and giving it a broader name allows for more
initialization to possibly occur should it need to be done.


Modified:
    team/group/CCSS/include/asterisk/ccss.h
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/include/asterisk/ccss.h
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/include/asterisk/ccss.h?view=diff&rev=221692&r1=221691&r2=221692
==============================================================================
--- team/group/CCSS/include/asterisk/ccss.h (original)
+++ team/group/CCSS/include/asterisk/ccss.h Thu Oct  1 13:55:46 2009
@@ -397,7 +397,7 @@
  * \retval 0 Success
  * \retval -1 Failure
  */
-int ast_cc_create_root_tree_item(struct ast_channel *chan, int *ignore_cc);
+int ast_cc_init(struct ast_channel *chan, int *ignore_cc);
 
 /*!
  * \since 1.6.4

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=221692&r1=221691&r2=221692
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Oct  1 13:55:46 2009
@@ -657,7 +657,7 @@
 /*!
  * \brief allocate dialed_cc_interfaces datastore and initialize fields
  *
- * This function is called when Situation 1 occurs in create_root_tree_item.
+ * This function is called when Situation 1 occurs in ast_cc_init.
  * See that function for more information on what Situation 1 is.
  *
  * In this particular case, we have to do a lot of memory allocation in order
@@ -868,7 +868,7 @@
 	return 0;
 }
 
-int ast_cc_create_root_tree_item(struct ast_channel *chan, int *ignore_cc)
+int ast_cc_init(struct ast_channel *chan, int *ignore_cc)
 {
 	/* There are three situations to deal with here:
 	 *




More information about the asterisk-commits mailing list