Tweak formatting and add minor updates to some comments.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2010-02-07 20:57:42 +00:00
parent 2191c94336
commit f199367b93
4 changed files with 40 additions and 21 deletions

View File

@@ -22,12 +22,14 @@
#ifndef _SIP_UTILS_H
#define _SIP_UTILS_H
/*! \brief converts ascii port to int representation. If no
* pt buffer is provided or the pt has errors when being converted
* to an int value, the port provided as the standard is used.
/*!
* \brief converts ascii port to int representation.
*
* \retval positive numeric port
* \arg pt[in] string that contains a port.
* \arg standard[in] port to return in case the port string input is NULL
* or if there is a parsing error.
*
* \return An integer port representation.
*/
unsigned int port_str2int(const char *pt, unsigned int standard);