mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user