[asterisk-commits] dvossel: branch dvossel/fixtheworld_phase1_step1 r298906 - in /team/dvossel/f...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 17 21:44:13 UTC 2010


Author: dvossel
Date: Fri Dec 17 15:44:09 2010
New Revision: 298906

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=298906
Log:
minor documentation update

Modified:
    team/dvossel/fixtheworld_phase1_step1/include/asterisk/format_cap.h
    team/dvossel/fixtheworld_phase1_step1/main/format.c
    team/dvossel/fixtheworld_phase1_step1/main/format_cap.c

Modified: team/dvossel/fixtheworld_phase1_step1/include/asterisk/format_cap.h
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step1/include/asterisk/format_cap.h?view=diff&rev=298906&r1=298905&r2=298906
==============================================================================
--- team/dvossel/fixtheworld_phase1_step1/include/asterisk/format_cap.h (original)
+++ team/dvossel/fixtheworld_phase1_step1/include/asterisk/format_cap.h Fri Dec 17 15:44:09 2010
@@ -42,7 +42,12 @@
  */
 void *ast_cap_destroy(struct ast_cap *cap);
 
-/*! \brief Add format capability to capabilities structure. */
+/*! \brief Add format capability to capabilities structure.
+ *
+ * \note A copy of the input format is made and that copy is
+ * what is placed in the ast_cap structure.  The actual
+ * input format ptr is not stored.
+ */
 void ast_cap_add(struct ast_cap *cap, struct ast_format *format);
 
 /*! \brief Remove format capability from capability structure.

Modified: team/dvossel/fixtheworld_phase1_step1/main/format.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step1/main/format.c?view=diff&rev=298906&r1=298905&r2=298906
==============================================================================
--- team/dvossel/fixtheworld_phase1_step1/main/format.c (original)
+++ team/dvossel/fixtheworld_phase1_step1/main/format.c Fri Dec 17 15:44:09 2010
@@ -488,7 +488,6 @@
 	}
 
 	ao2_lock(wrapper);
-	ast_log(LOG_NOTICE, "Format Interface ID %d Removed\n", wrapper->id);
 	wrapper->interface = NULL;
 	ao2_unlock(wrapper);
 

Modified: team/dvossel/fixtheworld_phase1_step1/main/format_cap.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step1/main/format_cap.c?view=diff&rev=298906&r1=298905&r2=298906
==============================================================================
--- team/dvossel/fixtheworld_phase1_step1/main/format_cap.c (original)
+++ team/dvossel/fixtheworld_phase1_step1/main/format_cap.c Fri Dec 17 15:44:09 2010
@@ -163,7 +163,8 @@
 	return 0;
 }
 
-/* this struct is just used for the ast_cap_joint function so we
+/*! \internal
+ * \brief this struct is just used for the ast_cap_joint function so we
  * can provide both a format and a result ast_cap structure as arguments
  * to the make_joint ao2 callback function. */
 struct find_joint_data {




More information about the asterisk-commits mailing list