diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-25 11:39:40 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-25 11:39:40 +0000 |
commit | b260a2fbf080d01b34770654573470e3531c55fb (patch) | |
tree | 1a50132e26e7897b3de153332073752cc54565cc /channels | |
parent | 82d48667fcf885c29ff5bf03cfa5c6937f755c99 (diff) |
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.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46183 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 18075a248..817ff6a01 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8912,8 +8912,7 @@ static struct ast_variable *copy_vars(struct ast_variable *src) 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 @@ static void replace_cid(struct sip_pvt *p, const char *rpid_num, const char *cal } } +/*! \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 @@ static enum check_auth_result check_user_ok(struct sip_pvt *p, char *of, 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, |