[asterisk-commits] oej: trunk r46183 - /trunk/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Oct 25 04:39:41 MST 2006
Author: oej
Date: Wed Oct 25 06:39:40 2006
New Revision: 46183
URL: http://svn.digium.com/view/asterisk?rev=46183&view=rev
Log:
Always add doxygen comments to new functions, more lines than one are
appreciated really. (Read the coding guidelines).
I've worked hard to make chan_sip a better place to code in, let's
keep it that way and don't add more stuff without comments.
Thank you.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=46183&r1=46182&r2=46183&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Oct 25 06:39:40 2006
@@ -8912,8 +8912,7 @@
return res;
}
-/* helper function for check_{user|peer}_ok() */
-
+/*! \brief helper function for check_{user|peer}_ok() */
static void replace_cid(struct sip_pvt *p, const char *rpid_num, const char *calleridname)
{
/* replace callerid if rpid found, and not restricted */
@@ -8927,6 +8926,7 @@
}
}
+/*! \brief Validate user authentication */
static enum check_auth_result check_user_ok(struct sip_pvt *p, char *of,
struct sip_request *req, int sipmethod, struct sockaddr_in *sin,
enum xmittype reliable,
@@ -9026,6 +9026,7 @@
return res;
}
+/*! \brief Validate peer authentication */
static enum check_auth_result check_peer_ok(struct sip_pvt *p, char *of,
struct sip_request *req, int sipmethod, struct sockaddr_in *sin,
struct sip_peer **authpeer,
More information about the asterisk-commits
mailing list