[asterisk-commits] oej: trunk r216748 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 7 09:21:04 CDT 2009


Author: oej
Date: Mon Sep  7 09:21:01 2009
New Revision: 216748

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=216748
Log:
Add some doxygen

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=216748&r1=216747&r2=216748
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Sep  7 09:21:01 2009
@@ -3443,6 +3443,7 @@
 	Sends a SIP request or response on a given socket (in the pvt)
 	Called by retrans_pkt, send_request, send_response and
 	__sip_reliable_xmit
+	\return length of transmitted message, XMIT_ERROR on known network failures -1 on other failures.
 */
 static int __sip_xmit(struct sip_pvt *p, struct ast_str *data, int len)
 {
@@ -4135,7 +4136,9 @@
 	return res;
 }
 
-/*! \brief Send SIP Request to the other part of the dialogue */
+/*! \brief Send SIP Request to the other part of the dialogue 
+	\return see \ref __sip_xmit
+*/
 static int send_request(struct sip_pvt *p, struct sip_request *req, enum xmittype reliable, int seqno)
 {
 	int res;
@@ -5079,7 +5082,7 @@
 }
 
 /*! \brief Initialize RTP portion of a dialog
- * \returns -1 on failure, 0 on success
+ * \return -1 on failure, 0 on success
  */
 static int dialog_initialize_rtp(struct sip_pvt *dialog)
 {
@@ -11657,7 +11660,9 @@
 	return 0;
 }
 
-/*! \brief Register with SIP proxy */
+/*! \brief Register with SIP proxy 
+	\return see \ref __sip_xmit 
+*/
 static int __sip_do_register(struct sip_registry *r)
 {
 	int res;




More information about the asterisk-commits mailing list