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

@@ -24,27 +24,33 @@
#ifndef _SIP_CONF_PARSE_H
#define _SIP_CONF_PARSE_H
/*! \brief Parse register=> line in sip.conf
/*!
* \brief Parse register=> line in sip.conf
*
* \retval 0 on success
* \retval -1 on failure
* \retval 0 on success
* \retval -1 on failure
*/
int sip_parse_register_line(struct sip_registry *reg, int default_expiry, const char *value, int lineno);
/*!
* \brief parses a config line for a host with a transport
* i.e. tls://www.google.com:8056
*
* \retval 0 on success
* \retval -1 on failure
* An example input would be:
* <code>tls://www.google.com:8056</code>
*
* \retval 0 on success
* \retval -1 on failure
*/
int sip_parse_host(char *line, int lineno, char **hostname, int *portnum, enum sip_transport *transport);
/*! \brief register config parsing tests */
/*!
* \brief register config parsing tests
*/
void sip_config_parser_register_tests(void);
/*! \brief unregister config parsing tests */
/*!
* \brief unregister config parsing tests
*/
void sip_config_parser_unregister_tests(void);
#endif